Skip to content

ForgeTypeId

Public 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.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The schema identifier.


Methods

Name

Description


Public Method

Sets the typeId to an empty string


Public Method

Releases all resources used by the ForgeTypeId


Public Method

Checks if the typeId is an empty string


Public Method

Determines whether this ForgeTypeId is equal to another.
(Overrides Object.Equals(Object))


Public Method

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

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

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

.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Operators

Name

Description


Public Operator
Static Member
Equality(ForgeTypeId, ForgeTypeId)
Public Operator
Static Member
Inequality(ForgeTypeId, ForgeTypeId)
Public Operator
Static Member
LessThan(ForgeTypeId, ForgeTypeId)