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.
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.
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.
// Assume 'typeDescription' is an instance of TypeDescription string typeName = typeDescription.Name; // typeName now holds the name of the type represented by typeDescription