The following tables list the members exposed by PropertyType.
Name | Description | |
---|---|---|
PropertyType Constructor | Constructs the PropertyType info from a source type and an instance property or field name |
Name | Description | |
---|---|---|
Name | Returns the name of the property/field | |
Type | Returns the type of the property/field |
Name | Description | |
---|---|---|
GetCustomAttributes | Overloaded. Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes. | |
GetValue | Returns the value of the property for the specified instance | |
IsDefined | Indicates whether one or more instance of attributeType is defined on this member. | |
SetValue | Sets the specified value for the instance supplied | |
TraverseProperties | Walks a heirarchy of properties from the given type down. You can specify in any of the following ways: "ClientRectangle.X", "ClientRectangle/X" |
Reference
PropertyType ClassCSharpTest.Net.Reflection Namespace