Entity Members


The Entity type exposes the following members.

Constructors

  NameDescription
Public methodEntity
The default-constructed Entity is invalid.
Public methodEntity(Guid)
Creates a new Entity corresponding to the Schema of the specified GUID.
Public methodEntity(Entity)
Constructs a new copy of the input ESEntity object.
Public methodEntity(Schema)
Creates a new Entity corresponding to the Schema.

Methods

  NameDescription
Public methodClear(String)
Resets the field to its default value.
Public methodClear(Field)
Resets the field to its default value.
Public methodDispose
Releases all resources used by the Entity
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetFieldType(String)
Retrieves the value of the field in the entity.
Public methodGetFieldType(Field)
Retrieves the value of the field in the entity.
Public methodGetFieldType(String, ForgeTypeId)
Retrieves the value of the field in the entity.
Public methodGetFieldType(Field, ForgeTypeId)
Retrieves the value of the field in the entity.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid
Checks whether this Entity has a live Schema corresponding to it.
Public methodReadAccessGranted
Checks whether this Entity may be retrieved by the current add-in.
Public methodRecognizedField
Checks whether a Field belongs to the same Schema as this Entity.
Public methodSetFieldType(String, FieldType)
Stores the value of the field in the entity.
Public methodSetFieldType(Field, FieldType)
Stores the value of the field in the entity.
Public methodSetFieldType(String, FieldType, ForgeTypeId)
Stores the value of the field in the entity.
Public methodSetFieldType(Field, FieldType, ForgeTypeId)
Stores the value of the field in the entity.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteAccessGranted
Checks whether this Entity may be stored by the current add-in.

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertySchema
The Schema describing this Entity.
Public propertySchemaGUID
The GUID of the Schema describing this Entity.

See Also