ICustomAttributeTypeProvider<TType>.GetUnderlyingEnumType(TType) Método

Definición

Obtiene el tipo subyacente del símbolo de tipo de enumeración especificado.

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

Parámetros

type
TType

Tipo de enumeración.

Devoluciones

Código de tipo que indica el tipo subyacente de la enumeración.

Excepciones

El símbolo de tipo especificado no representa una enumeración.

Se aplica a