The Namespace
property provides the namespace of the type described by the TypeDescription
class. This property is useful for identifying the organizational structure of the type within the codebase.
The Namespace
property provides the namespace of the type described by the TypeDescription
class. This property is useful for identifying the organizational structure of the type within the codebase.
To access the namespace of a type using the TypeDescription
class, simply access the Namespace
property. This will return a string
representing the namespace.
// Example of accessing the Namespace property TypeDescription typeDescription = TypeLibrary.GetTypeDescription(typeof(MyClass)); string namespaceName = typeDescription.Namespace; // Output the namespace // namespaceName will contain the namespace of MyClass