PropertyBuilder::GetCustomAttributes Method (Boolean)
.NET Framework (current version)
Returns an array of all the custom attributes for this property.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- inherit
-
Type:
System::Boolean
If true, walks up this property's inheritance chain to find the custom attributes
| Exception | Condition |
|---|---|
| NotSupportedException | This method is not supported. |
Reflect on the property's parent type using Type.GetType or Assembly.GetType, retrieve the Reflection property object from the type, and call PropertyInfo.GetCustomAttributes.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: