DynamicMethod.Module 속성

정의

동적 메서드가 논리적으로 연결된 모듈을 가져옵니다.

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

속성 값

현재 동적 메서드가 연결되는 Module 입니다.

예제

다음 코드 예제에서는 Module 동적 메서드의 속성을 표시 합니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 DynamicMethod 클래스입니다.

// Display the module specified when the dynamic method was created.
Console::WriteLine("\r\nModule: {0}", hello->Module);
// Display the module specified when the dynamic method was created.
Console.WriteLine("\r\nModule: {0}", hello.Module);
' Display the module specified when the dynamic method was created.
Console.WriteLine(vbCrLf & "Module: {0}", hello.Module)

설명

동적 메서드를 만들 때 모듈을 지정한 경우 이 속성은 해당 모듈을 반환합니다. 동적 메서드를 만들 때 형식을 소유자로 지정한 경우 이 속성은 해당 형식이 포함된 모듈을 반환합니다.

적용 대상