ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / CustomPropertyInfo Class / GetCustomAttributes Method / GetCustomAttributes(Boolean) Method
Specifies whether to search this member's inheritance chain to find the attributes.

In This Topic
    GetCustomAttributes(Boolean) Method
    In This Topic
    When overridden in a derived class, returns an array containing all the custom attributes.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function GetCustomAttributes( _
       ByVal inherit As Boolean _
    ) As Object()
    public override object[] GetCustomAttributes( 
       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