EnumBuilder.GetEnumUnderlyingType Method

Definition

返回当前枚举的基础整数类型,该类型是于定义枚举生成器时设置的。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

Returns

Type

基础类型。The underlying type.

Applies to