Represents all properties of a specific type within the TypeDescription
class. This property provides an array of PropertyDescription
objects, each describing a property of the type.
Represents all properties of a specific type within the TypeDescription
class. This property provides an array of PropertyDescription
objects, each describing a property of the type.
Use the Properties
property to access detailed information about each property of a type described by TypeDescription
. This can be useful for reflection-like operations where you need to inspect the properties of a type at runtime.
// Example of accessing the Properties property TypeDescription typeDesc = TypeLibrary.GetTypeDescription(typeof(MyClass)); PropertyDescription[] properties = typeDesc.Properties; foreach (var property in properties) { // Output the name of each property Console.WriteLine(property.Name); }