SignatureHelper.GetMethodSigHelper 메서드

정의

메서드에 대한 시그니처 도우미를 반환합니다.

오버로드

GetMethodSigHelper(Module, Type, Type[])

메서드의 모듈, 반환 형식 및 인수 형식을 매개 변수로 받아 표준 호출 규칙으로 해당 메서드에 대한 시그니처 도우미를 반환합니다.

GetMethodSigHelper(Module, CallingConvention, Type)

메서드의 모듈, 관리되지 않는 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

GetMethodSigHelper(CallingConvention, Type)

메서드의 관리되지 않는 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

GetMethodSigHelper(CallingConventions, Type)

메서드의 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

GetMethodSigHelper(Module, CallingConventions, Type)

지정된 메서드의 모듈, 호출 규칙 및 반환 형식에 따라 메서드의 시그니처 도우미를 반환합니다.

GetMethodSigHelper(Module, Type, Type[])

메서드의 모듈, 반환 형식 및 인수 형식을 매개 변수로 받아 표준 호출 규칙으로 해당 메서드에 대한 시그니처 도우미를 반환합니다.

public:
 static System::Reflection::Emit::SignatureHelper ^ GetMethodSigHelper(System::Reflection::Module ^ mod, Type ^ returnType, cli::array <Type ^> ^ parameterTypes);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.Module? mod, Type? returnType, Type[]? parameterTypes);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.Module mod, Type returnType, Type[] parameterTypes);
static member GetMethodSigHelper : System.Reflection.Module * Type * Type[] -> System.Reflection.Emit.SignatureHelper
Public Shared Function GetMethodSigHelper (mod As Module, returnType As Type, parameterTypes As Type()) As SignatureHelper

매개 변수

mod
Module

SignatureHelper가 요청되는 메서드를 포함하는 ModuleBuilder입니다.

returnType
Type

메서드의 반환 형식이거나 void 반환 형식의 경우 null입니다(Visual Basic의 Sub 프로시저).

parameterTypes
Type[]

메서드의 인수 형식이거나, 메서드에 인수가 없는 경우 null입니다.

반환

SignatureHelper

메서드에 대한 SignatureHelper 개체입니다.

예외

mod이(가) null인 경우

또는 parameterTypes의 요소가 null입니다.

mod이(가) ModuleBuilder가 아닌 경우

설명

이 오버로드는 표준 호출 규칙을 사용하여 서명을 만듭니다.

사용자 지정 한정자를 사용하여 메서드 서명을 만들려면 메서드 오버로드를 사용한 GetMethodSigHelper(Module, CallingConventions, Type) 다음, 또는 AddArguments(Type[], Type[][], Type[][]) 메서드 오버로드를 사용하여 AddArgument(Type, Type[], Type[]) 사용자 지정 한정자를 사용하여 인수를 추가합니다.

적용 대상

GetMethodSigHelper(Module, CallingConvention, Type)

메서드의 모듈, 관리되지 않는 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

public:
 static System::Reflection::Emit::SignatureHelper ^ GetMethodSigHelper(System::Reflection::Module ^ mod, System::Runtime::InteropServices::CallingConvention unmanagedCallConv, Type ^ returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.Module mod, System.Runtime.InteropServices.CallingConvention unmanagedCallConv, Type returnType);
static member GetMethodSigHelper : System.Reflection.Module * System.Runtime.InteropServices.CallingConvention * Type -> System.Reflection.Emit.SignatureHelper
Public Shared Function GetMethodSigHelper (mod As Module, unmanagedCallConv As CallingConvention, returnType As Type) As SignatureHelper

매개 변수

mod
Module

SignatureHelper가 요청되는 메서드를 포함하는 ModuleBuilder입니다.

unmanagedCallConv
CallingConvention

메서드의 관리되지 않는 호출 규칙입니다.

returnType
Type

메서드의 반환 형식이거나 void 반환 형식의 경우 null입니다(Visual Basic의 Sub 프로시저).

반환

SignatureHelper

메서드에 대한 SignatureHelper 개체입니다.

예외

mod이(가) null인 경우

mod이(가) ModuleBuilder가 아닌 경우

또는 unmanagedCallConv로 지정된 관리되지 않는 호출 규칙을 알 수 없는 경우

적용 대상

GetMethodSigHelper(CallingConvention, Type)

메서드의 관리되지 않는 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

public:
 static System::Reflection::Emit::SignatureHelper ^ GetMethodSigHelper(System::Runtime::InteropServices::CallingConvention unmanagedCallingConvention, Type ^ returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Runtime.InteropServices.CallingConvention unmanagedCallingConvention, Type returnType);
static member GetMethodSigHelper : System.Runtime.InteropServices.CallingConvention * Type -> System.Reflection.Emit.SignatureHelper
Public Shared Function GetMethodSigHelper (unmanagedCallingConvention As CallingConvention, returnType As Type) As SignatureHelper

매개 변수

unmanagedCallingConvention
CallingConvention

메서드의 관리되지 않는 호출 규칙입니다.

returnType
Type

메서드의 반환 형식이거나 void 반환 형식의 경우 null입니다(Visual Basic의 Sub 프로시저).

반환

SignatureHelper

메서드에 대한 SignatureHelper 개체입니다.

예외

unmanagedCallConv로 지정된 관리되지 않는 호출 규칙을 알 수 없는 경우

적용 대상

GetMethodSigHelper(CallingConventions, Type)

메서드의 호출 규칙 및 반환 형식을 매개 변수로 받아 메서드에 대한 시그니처 도우미를 반환합니다.

public:
 static System::Reflection::Emit::SignatureHelper ^ GetMethodSigHelper(System::Reflection::CallingConventions callingConvention, Type ^ returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.CallingConventions callingConvention, Type? returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.CallingConventions callingConvention, Type returnType);
static member GetMethodSigHelper : System.Reflection.CallingConventions * Type -> System.Reflection.Emit.SignatureHelper
Public Shared Function GetMethodSigHelper (callingConvention As CallingConventions, returnType As Type) As SignatureHelper

매개 변수

callingConvention
CallingConventions

메서드의 호출 규칙입니다.

returnType
Type

메서드의 반환 형식이거나 void 반환 형식의 경우 null입니다(Visual Basic의 Sub 프로시저).

반환

SignatureHelper

메서드에 대한 SignatureHelper 개체입니다.

적용 대상

GetMethodSigHelper(Module, CallingConventions, Type)

지정된 메서드의 모듈, 호출 규칙 및 반환 형식에 따라 메서드의 시그니처 도우미를 반환합니다.

public:
 static System::Reflection::Emit::SignatureHelper ^ GetMethodSigHelper(System::Reflection::Module ^ mod, System::Reflection::CallingConventions callingConvention, Type ^ returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.Module? mod, System.Reflection.CallingConventions callingConvention, Type? returnType);
public static System.Reflection.Emit.SignatureHelper GetMethodSigHelper (System.Reflection.Module mod, System.Reflection.CallingConventions callingConvention, Type returnType);
static member GetMethodSigHelper : System.Reflection.Module * System.Reflection.CallingConventions * Type -> System.Reflection.Emit.SignatureHelper
Public Shared Function GetMethodSigHelper (mod As Module, callingConvention As CallingConventions, returnType As Type) As SignatureHelper

매개 변수

mod
Module

SignatureHelper가 요청되는 메서드를 포함하는 ModuleBuilder입니다.

callingConvention
CallingConventions

메서드의 호출 규칙입니다.

returnType
Type

메서드의 반환 형식이거나 void 반환 형식의 경우 null입니다(Visual Basic의 Sub 프로시저).

반환

SignatureHelper

메서드에 대한 SignatureHelper 개체입니다.

예외

mod이(가) null인 경우

mod이(가) ModuleBuilder가 아닌 경우

적용 대상