An integer that represents this type. Based off the class name.
An integer that represents this type. Based off the class name.
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 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 }