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#

publicstaticMaybe<TAttribute>GetAttribute<TAttribute>()whereTAttribute:Attribute

VB

PublicSharedFunctionGetAttribute(OfTAttributeAsAttribute)AsMaybe(OfTAttribute)

C++

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

F#

static memberGetAttribute: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