다음을 통해 공유


ConstructorBuilder.MethodHandle Property

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

Gets the handle for the constructor. This property is not supported.

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

Syntax

'Declaration
Public Overrides ReadOnly Property MethodHandle As RuntimeMethodHandle
public override RuntimeMethodHandle MethodHandle { get; }

Property Value

Type: System.RuntimeMethodHandle
The handle for the constructor.

Exceptions

Exception Condition
NotSupportedException

This property is not supported on this class.

Remarks

You can retrieve the constructor after the dynamic type is created by calling the Type.GetConstructor method on the completed type. Call MethodHandle on the resulting ConstructorInfo.

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.