DynamicMethod.CallingConvention 속성

정의

동적 메서드를 만들 때 지정된 호출 규칙을 가져옵니다.

public:
 virtual property System::Reflection::CallingConventions CallingConvention { System::Reflection::CallingConventions get(); };
public override System.Reflection.CallingConventions CallingConvention { get; }
member this.CallingConvention : System.Reflection.CallingConventions
Public Overrides ReadOnly Property CallingConvention As CallingConventions

속성 값

메서드의 호출 규칙을 나타내는 CallingConventions 값 중 하나입니다.

예제

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

// Display the calling convention of the dynamic method, set when the 
// dynamic method was created.
Console::WriteLine("\r\nCalling convention: {0}", hello->CallingConvention);
// Display the calling convention of the dynamic method, set when the
// dynamic method was created.
Console.WriteLine("\r\nCalling convention: {0}", hello.CallingConvention);
' Display the calling convention of the dynamic method, set when the 
' dynamic method was created.
Console.WriteLine(vbCrLf & "Calling convention: {0}", _ 
    hello.CallingConvention)

설명

현재 동적 메서드에 대한 호출 규칙은 항상 Standard입니다.

적용 대상