ICustomAttributeTypeProvider<TType>.GetUnderlyingEnumType(TType) Metodo

Definizione

Ottiene il tipo sottostante del simbolo di tipo enumerazione specificato.

public:
 System::Reflection::Metadata::PrimitiveTypeCode GetUnderlyingEnumType(TType type);
public System.Reflection.Metadata.PrimitiveTypeCode GetUnderlyingEnumType(TType type);
abstract member GetUnderlyingEnumType : 'ype -> System.Reflection.Metadata.PrimitiveTypeCode
Public Function GetUnderlyingEnumType (type As TType) As PrimitiveTypeCode

Parametri

type
TType

Tipo di enumerazione.

Valori restituiti

Codice di tipo che indica il tipo sottostante dell'enumerazione.

Eccezioni

Il simbolo di tipo specificato non rappresenta un'enumerazione.

Si applica a