System.String[] Aliases { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Aliases property of the TypeDescription class provides an array of strings representing alternative names or aliases for the described type. This can be useful for identifying a type by different names within different contexts or systems.

Usage

To access the Aliases property, you need an instance of the TypeDescription class. Once you have the instance, you can retrieve the aliases as follows:

Example

TypeDescription typeDescription = TypeLibrary.GetTypeDescription(typeof(MyClass));
string[] aliases = typeDescription.Aliases;

foreach (string alias in aliases)
{
    // Use alias
    Console.WriteLine(alias);
}