EnumBuilder.GetEnumUnderlyingType Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the underlying integer type of the current enumeration, which is set when the enumeration builder is defined.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override Type GetEnumUnderlyingType()

Return Value

Type: System.Type

The underlying type.

.NET Framework
Available since 4.0
Return to top