Share via


TypeBuilder.UnderlyingSystemType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the underlying system type for this TypeBuilder.

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

Syntax

'Declaration
Public Overrides ReadOnly Property UnderlyingSystemType As Type
public override Type UnderlyingSystemType { get; }

Property Value

Type: System.Type
The underlying system type.

Implements

IReflect.UnderlyingSystemType

Exceptions

Exception Condition
InvalidOperationException

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.