int Identity { get; set; }

book_4_sparkGenerated
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 = new TypeDescription();
int typeId = typeDescription.Identity;

// Use the typeId for comparison or identification
if (typeId == someOtherTypeId)
{
    // Perform some action
}