MethodBuilder.Module Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the module in which the current method is being defined.
public:
virtual property System::Reflection::Module ^ Module { System::Reflection::Module ^ get(); };
public override System.Reflection.Module Module { get; }
member this.Module : System.Reflection.Module
Public Overrides ReadOnly Property Module As Module
Property Value
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.