EnumBuilder.GetEnumUnderlyingType EnumBuilder.GetEnumUnderlyingType EnumBuilder.GetEnumUnderlyingType EnumBuilder.GetEnumUnderlyingType Method

定义

返回当前枚举的基础整数类型,在定义枚举生成器时设置该类型。Returns the underlying integer type of the current enumeration, which is set when the enumeration builder is defined.

public:
 override Type ^ GetEnumUnderlyingType();
public override Type GetEnumUnderlyingType ();
override this.GetEnumUnderlyingType : unit -> Type
Public Overrides Function GetEnumUnderlyingType () As Type

返回

基础类型。The underlying type.

适用于