Skip to content

M_CommandLine_Infrastructure_ReflectionHelper_GetAttribute__1

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

ReflectionHelper.GetAttribute(TAttribute) Method

Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static Maybe<TAttribute> GetAttribute<TAttribute>()
where TAttribute : Attribute

VB

Public Shared Function GetAttribute(Of TAttribute As Attribute) As Maybe(Of TAttribute)

C++

public:
generic<typename TAttribute>
where TAttribute : Attribute
static Maybe<TAttribute>^ GetAttribute()

F#

static member GetAttribute : unit -> Maybe<'TAttribute>  when 'TAttribute : Attribute

Type Parameters

 

TAttribute

Return Value

Type: Maybe(TAttribute)

See Also

Reference

ReflectionHelper Class
CommandLine.Infrastructure Namespace

Clone this wiki locally