The ClassName
property of the MapEntity
class represents the entity class name, such as prop_physics
. This property is used to identify the type of entity within the map document.
The ClassName
property of the MapEntity
class represents the entity class name, such as prop_physics
. This property is used to identify the type of entity within the map document.
To access or modify the class name of a MapEntity
, use the ClassName
property. This property is a string
and can be set or retrieved as needed.
// Example of setting the ClassName property MapEntity entity = new MapEntity(); entity.ClassName = "prop_physics"; // Example of getting the ClassName property string className = entity.ClassName; // className will be "prop_physics"