ICustomAttributeTypeProvider<TType>.GetUnderlyingEnumType(TType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the underlying type of the given enum type symbol.
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
Parameters
- type
- TType
An enum type.
Returns
A type code that indicates the underlying type of the enumeration.
Exceptions
The given type symbol does not represent an enum.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.