The PropertyDescription class in the Sandbox
namespace provides a detailed description of a property. It is used to encapsulate and safely interact with property information, typically returned by the TypeLibrary and TypeDescription classes.
The PropertyDescription class in the Sandbox
namespace provides a detailed description of a property. It is used to encapsulate and safely interact with property information, typically returned by the TypeLibrary and TypeDescription classes.
Member Name | Summary |
---|---|
IsProperty | Indicates if the member is a property. |
CanWrite | Whether this property can be written to. |
CanRead | Whether this property can be read. |
IsGetMethodPublic | Whether the getter of this property is public. |
IsSetMethodPublic | Whether the setter of this property is public. |
PropertyType | Property type. |
IsIndexer | True if this property has index parameters. |
Member Name | Summary |
---|---|
GetValue | Gets the value of the property from the specified object. |
SetValue | Sets the value of the property on the specified object. |
CheckValidationAttributes | Checks the validation attributes of the property on the specified object. |