ComponentOne DataGrid for WPF and Silverlight
GetCustomAttributes(Boolean) Method

C1.WPF.DataGrid Namespace > CustomPropertyInfo Class > GetCustomAttributes Method : GetCustomAttributes(Boolean) Method
Specifies whether to search this member's inheritance chain to find the attributes.
When overridden in a derived class, returns an array containing all the custom attributes.
Syntax
'Declaration
 
Public Overloads Overrides Function GetCustomAttributes( _
   ByVal inherit As System.Boolean _
) As System.Object()
public override System.object[] GetCustomAttributes( 
   System.bool inherit
)

Parameters

inherit
Specifies whether to search this member's inheritance chain to find the attributes.

Return Value

An array that contains all the custom attributes, or an array with zero elements if no attributes are defined.
Exceptions
ExceptionDescription
This member belongs to a type that is loaded into the reflection-only context. See How to: Load Assemblies into the Reflection-Only Context.
A custom attribute type cannot be loaded.
See Also

Reference

CustomPropertyInfo Class
CustomPropertyInfo Members
Overload List