int Identity { get; set; }

robot_2Generated
code_blocksInput

Description

An integer that represents this type. Based off the class name.

Usage

The Identity property provides a unique integer identifier for the type described by the TypeDescription class. This identifier is derived from the class name and can be used to distinguish between different types within the Sandbox environment.

Example

// Example of accessing the Identity property
TypeDescription typeDescription = TypeLibrary.GetType("MyNamespace.MyClass");
int typeId = typeDescription.Identity;

// Use the typeId for comparison or identification
if (typeId == someOtherTypeId)
{
    // Do something if the types match
}