ICustomAttributeTypeProvider<TType>.GetUnderlyingEnumType(TType) Metoda

Definicja

Pobiera podstawowy typ danego symbolu typu wyliczenia.

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

Parametry

type
TType

Typ wyliczenia.

Zwraca

Kod typu wskazujący podstawowy typ wyliczenia.

Wyjątki

Podany symbol typu nie reprezentuje wyliczenia.

Dotyczy