ITypeName.GetReflectionAttributeType Method

Definition

Assuming the typename is an attribute, returns the Type that this typename represents. By convention, the typename may omit the suffix "Attribute". Lookup will attempt to resolve the type as is, and if that fails, the suffix "Attribute" will be appended.

public:
 Type ^ GetReflectionAttributeType();
public:
 Platform::Type ^ GetReflectionAttributeType();
public Type GetReflectionAttributeType ();
public Type? GetReflectionAttributeType ();
[System.Runtime.CompilerServices.NullableContext(2)]
public Type? GetReflectionAttributeType ();
abstract member GetReflectionAttributeType : unit -> Type
[<System.Runtime.CompilerServices.NullableContext(2)>]
abstract member GetReflectionAttributeType : unit -> Type
Public Function GetReflectionAttributeType () As Type

Returns

Attributes

Applies to