다음을 통해 공유


MethodBuilder.Module Property

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

Gets the module in which the current method is being defined.

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

Syntax

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

Property Value

Type: System.Reflection.Module
The Module in which the member represented by the current MemberInfo is being defined.

Remarks

This property is provided as a convenience. It is equivalent to using the DeclaringType property to get the type in which the method is being declared, and then calling the Module property of the resulting Type object.

This property is also equivalent to calling GetModule.

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.