共用方式為


GenericTypeName.GetReflectionAttributeType Method

Definition

Returns the Type this type represents, assuming the type is an attribute. The suffix "Attribute" may be appended, if necessary, to resolve the type.

public:
 virtual Type ^ GetReflectionAttributeType();
public:
 Platform::Type ^ GetReflectionAttributeType();
public Type GetReflectionAttributeType ();
abstract member GetReflectionAttributeType : unit -> Type
override this.GetReflectionAttributeType : unit -> Type
Public Function GetReflectionAttributeType () As Type

Returns

The Type if possible, null otherwise. Null may be returned for valid typenames if the assembly containing the type has not been loaded.

Implements

Applies to