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

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

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 (Visual Basic では Sub プロシージャ) である場合は null

parameterTypes
Type[]

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

戻り値

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

例外

modnullです。

- または -

parameterTypes の要素は null です。

modModuleBuilder ではありません。

注釈

このオーバーロードは、標準の呼び出し規則を使用してシグネチャを作成します。

カスタム修飾子を使用してメソッド シグネチャを作成するには、 メソッド オーバーロードを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 (Visual Basic では Sub プロシージャ) である場合は null

戻り値

メソッドの 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 では Sub プロシージャ) である場合は null

戻り値

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

例外

unmanagedCallConv が、不明なアンマネージ呼び出し規約です。

適用対象

GetMethodSigHelper(CallingConventions, Type)

ソース:
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 では Sub プロシージャ) である場合は null

戻り値

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

適用対象

GetMethodSigHelper(Module, CallingConventions, Type)

ソース:
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

SignatureHelper を要求するメソッドが格納されている ModuleBuilder

callingConvention
CallingConventions

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

returnType
Type

メソッドの戻り値の型。戻り値の型が void (Visual Basic では Sub プロシージャ) である場合は null

戻り値

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

例外

modnullです。

modModuleBuilder ではありません。

適用対象