SignatureHelper.GetMethodSigHelper メソッド

定義

メソッドのシグネチャ ヘルパーを返します。

オーバーロード

名前 説明
GetMethodSigHelper(Module, Type, Type[])

メソッドのモジュール、戻り値の型、および引数の型を指定して、標準の呼び出し規則を持つメソッドのシグネチャ ヘルパーを返します。

GetMethodSigHelper(Module, CallingConvention, Type)

メソッドのモジュール、アンマネージ呼び出し規則、および戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

GetMethodSigHelper(CallingConvention, Type)

メソッドのアンマネージ呼び出し規約と戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

GetMethodSigHelper(CallingConventions, Type)

メソッドの呼び出し規則と戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

GetMethodSigHelper(Module, CallingConventions, Type)

メソッドのモジュール、呼び出し規則、および戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

GetMethodSigHelper(Module, Type, Type[])

ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs

メソッドのモジュール、戻り値の型、および引数の型を指定して、標準の呼び出し規則を持つメソッドのシグネチャ ヘルパーを返します。

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

ModuleBuilderが要求されるメソッドを含むSignatureHelper

returnType
Type

メソッドの戻り値の型、または void 戻り値の型 (Visual Basic の null プロシージャ) のSub

parameterTypes
Type[]

メソッドの引数の型。メソッドに引数がない場合は null

返品

メソッドの SignatureHelper オブジェクト。

例外

modnullです。

-又は-

parameterTypesの要素がnull

modModuleBuilderではありません。

注釈

このオーバーロードは、標準の呼び出し規則を使用して署名を作成します。

カスタム修飾子を使用してメソッド シグネチャを作成するには、 GetMethodSigHelper(Module, CallingConventions, Type) メソッドオーバーロードを使用し、 AddArgument(Type, Type[], Type[]) または AddArguments(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

ModuleBuilderが要求されるメソッドを含むSignatureHelper

unmanagedCallConv
CallingConvention

メソッドのアンマネージ呼び出し規約。

returnType
Type

メソッドの戻り値の型、または void 戻り値の型 (Visual Basic の null プロシージャ) のSub

返品

メソッドの SignatureHelper オブジェクト。

例外

modnullです。

modModuleBuilderではありません。

-又は-

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 戻り値の型 (Visual Basic の null プロシージャ) のSub

返品

メソッドの SignatureHelper オブジェクト。

例外

unmanagedCallingConvention は、不明なアンマネージ呼び出し規則です。

適用対象

GetMethodSigHelper(CallingConventions, Type)

ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs

メソッドの呼び出し規則と戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

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 戻り値の型 (Visual Basic の null プロシージャ) のSub

返品

メソッドの SignatureHelper オブジェクト。

適用対象

GetMethodSigHelper(Module, CallingConventions, Type)

ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs
ソース:
SignatureHelper.cs

メソッドのモジュール、呼び出し規則、および戻り値の型を指定して、メソッドのシグネチャ ヘルパーを返します。

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

ModuleBuilderが要求されるメソッドを含むSignatureHelper

callingConvention
CallingConventions

メソッドの呼び出し規約。

returnType
Type

メソッドの戻り値の型、または void 戻り値の型 (Visual Basic の null プロシージャ) のSub

返品

メソッドの SignatureHelper オブジェクト。

例外

modnullです。

modModuleBuilderではありません。

適用対象