Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / GetCustomAttribute<T> Method
Type of the custom attribute.
The member info.
if set to true [inherited].

In This Topic
    GetCustomAttribute<T> Method
    In This Topic
    Gets the custom attribute.
    Syntax
    'Declaration
     
    Public Shared Function GetCustomAttribute(Of T As System.Attribute)( _
       ByVal memberInfo As System.Reflection.MemberInfo, _
       Optional ByVal inherited As System.Boolean _
    ) As T
    public static T GetCustomAttribute<T>( 
       System.Reflection.MemberInfo memberInfo,
       System.bool inherited
    )
    where T: System.Attribute

    Parameters

    memberInfo
    The member info.
    inherited
    if set to true [inherited].

    Type Parameters

    T
    Type of the custom attribute.

    Return Value

    The custom attribute or null if not found.
    See Also