TypeBuilder.UnderlyingSystemType Property

 
System_CAPS_noteNote

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 system type for this TypeBuilder.

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

public override Type UnderlyingSystemType { get; }

Property Value

Type: System.Type

Read-only. Returns the underlying system type.

Exception Condition
InvalidOperationException

This type is an enumeration, but there is no underlying system type.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: