Język

SignatureHelper.GetMethodSigHelper Metoda

Definicja

Zwraca pomocnika podpisu dla metody.

Przeciążenia

Nazwa Opis
GetMethodSigHelper(Module, Type, Type[])

Zwraca pomocnik podpisu dla metody ze standardową konwencją wywoływania, biorąc pod uwagę moduł metody, typ zwracany i typy argumentów.

GetMethodSigHelper(Module, CallingConvention, Type)

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę moduł metody, niezarządzaną konwencję wywoływania i typ zwracany.

GetMethodSigHelper(CallingConvention, Type)

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę niezarządzaną konwencję wywoływania metody i typ zwracany.

GetMethodSigHelper(CallingConventions, Type)

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę konwencję wywoływania metody i zwracany typ.

GetMethodSigHelper(Module, CallingConventions, Type)

Zwraca pomocnik podpisu dla metody podanej w module metody, konwencji wywoływania i zwracanego typu.

GetMethodSigHelper(Module, Type, Type[])

Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs

Zwraca pomocnik podpisu dla metody ze standardową konwencją wywoływania, biorąc pod uwagę moduł metody, typ zwracany i typy argumentów.

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

Parametry

mod
Module

Element ModuleBuilder , który zawiera metodę, dla której SignatureHelper żądana jest wartość .

returnType
Type

Zwracany typ metody lub null dla typu zwracanego void (Sub procedura w Visual Basic).

parameterTypes
Type[]

Typy argumentów metody lub null jeśli metoda nie ma argumentów.

Zwraca

Obiekt SignatureHelper dla metody .

Wyjątki

Parametr mod ma wartość null.

— lub —

Element elementu parameterTypes to null.

Uwagi

To przeciążenie tworzy podpis ze standardową konwencją wywoływania.

Aby utworzyć sygnaturę metody z modyfikatorami niestandardowymi, użyj GetMethodSigHelper(Module, CallingConventions, Type) przeciążenia metody , a następnie użyj AddArgument(Type, Type[], Type[]) przeciążeń metody lub AddArguments(Type[], Type[][], Type[][]) , aby dodać argumenty z modyfikatorami niestandardowymi.

Dotyczy

GetMethodSigHelper(Module, CallingConvention, Type)

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę moduł metody, niezarządzaną konwencję wywoływania i typ zwracany.

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

Parametry

mod
Module

Element ModuleBuilder , który zawiera metodę, dla której SignatureHelper żądana jest wartość .

unmanagedCallConv
CallingConvention

Niezarządzana konwencja wywoływania metody .

returnType
Type

Zwracany typ metody lub null dla typu zwracanego void (Sub procedura w Visual Basic).

Zwraca

Obiekt SignatureHelper dla metody .

Wyjątki

Parametr mod ma wartość null.

modnie jest .ModuleBuilder

— lub —

unmanagedCallConv jest nieznaną niezarządzaną konwencją wywoływania.

Dotyczy

GetMethodSigHelper(CallingConvention, Type)

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę niezarządzaną konwencję wywoływania metody i typ zwracany.

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

Parametry

unmanagedCallingConvention
CallingConvention

Niezarządzana konwencja wywoływania metody .

returnType
Type

Zwracany typ metody lub null dla typu zwracanego void (Sub procedura w Visual Basic).

Zwraca

Obiekt SignatureHelper dla metody .

Wyjątki

unmanagedCallingConvention jest nieznaną niezarządzaną konwencją wywoływania.

Dotyczy

GetMethodSigHelper(CallingConventions, Type)

Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs

Zwraca pomocnik podpisu dla metody, biorąc pod uwagę konwencję wywoływania metody i zwracany typ.

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

Parametry

callingConvention
CallingConventions

Konwencja wywoływania metody.

returnType
Type

Zwracany typ metody lub null dla typu zwracanego void (Sub procedura w Visual Basic).

Zwraca

Obiekt SignatureHelper dla metody .

Dotyczy

GetMethodSigHelper(Module, CallingConventions, Type)

Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs
Źródło:
SignatureHelper.cs

Zwraca pomocnik podpisu dla metody podanej w module metody, konwencji wywoływania i zwracanego typu.

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

Parametry

mod
Module

Element ModuleBuilder , który zawiera metodę, dla której SignatureHelper żądana jest wartość .

callingConvention
CallingConventions

Konwencja wywoływania metody.

returnType
Type

Zwracany typ metody lub null dla typu zwracanego void (Sub procedura w Visual Basic).

Zwraca

Obiekt SignatureHelper dla metody .

Wyjątki

Parametr mod ma wartość null.

Dotyczy