ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DXUtil Class / GetCustomAttributes<T> Method
Type of the custom attribute.
The member info.
if set to true [inherited].

In This Topic
    GetCustomAttributes<T> Method
    In This Topic
    Gets the custom attributes.
    Syntax
    'Declaration
     
    Public Shared Function GetCustomAttributes(Of T As Attribute)( _
       ByVal memberInfo As MemberInfo, _
       Optional ByVal inherited As Boolean _
    ) As IEnumerable(Of T)
    public static IEnumerable<T> GetCustomAttributes<T>( 
       MemberInfo memberInfo,
       bool inherited
    )
    where T: 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