ForgeTypeId Class


Forge Type Id Class

This class holds a string that uniquely identifies a Forge schema.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB ForgeTypeId

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ForgeTypeId : IDisposable

The ForgeTypeId type exposes the following members.

Constructors
Name Description
Public method ForgeTypeId Constructs a ForgeTypeId holding an empty schema identifier.
Public method ForgeTypeId(String) Constructs a ForgeTypeId holding the given schema identifier.
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property TypeId The schema identifier.
Top
Methods
Name Description
Public method Clear Sets the typeId to an empty string
Public method Dispose Releases all resources used by the ForgeTypeId
Public method Empty Checks if the typeId is an empty string
Public method Equals Determines whether this ForgeTypeId is equal to another.
(Overrides Object Equals(Object) )
Public method GetHashCode Returns the hash code for this ForgeTypeId
(Overrides Object GetHashCode )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method NameEquals Returns true if the typeid string held by this ForgeTypeId is equal to that held by the given ForgeTypeId, excluding the version number. The version number of a typeid string follows a hyphen character. This function compares the typeid strings up to the first hyphen. This is the default equality comparison method for the ForgeTypeId class, used by the equality operator (==).
Public method StrictlyEquals Returns true if the entire typeid string held by this ForgeTypeId is exactly equal to that held by the given ForgeTypeId. For the default equality comparison used by the equality operator (==), see NameEquals(ForgeTypeId) .
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Operators
See Also