Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MethodBuilder::Module Property

 

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

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

public:
property Module^ Module {
	virtual Module^ get() override;
}

Property Value

Type: System.Reflection::Module^

The Module in which the member represented by the current MemberInfo is being defined.

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.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft