string Name { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Name property of the TypeDescription class provides the name of the type that the TypeDescription instance represents. This property is useful for retrieving the simple name of the type without any namespace or assembly information.

Usage

To access the Name property, you need an instance of the TypeDescription class. Once you have the instance, you can simply access the property to get the name of the type.

Example

// Assume 'typeDescription' is an instance of TypeDescription
string typeName = typeDescription.Name;
// typeName now holds the name of the type represented by typeDescription