TypeDelegator.GetMethodImpl メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > TypeDelegator.GetMethodImpl メソッドの意味・解説 

TypeDelegator.GetMethodImpl メソッド

指定したバインディング制約および指定した呼び出し規約を使用して、指定したメソッドのうち、指定した引数の型および修飾子と一致するパラメータが設定されているものを検索します。

名前空間: System.Reflection
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Overrides Function
 GetMethodImpl ( _
    name As String, _
    bindingAttr As BindingFlags, _
    binder As Binder, _
    callConvention As CallingConventions, _
    types As Type(), _
    modifiers As ParameterModifier() _
) As MethodInfo
Dim name As String
Dim bindingAttr As BindingFlags
Dim binder As Binder
Dim callConvention As CallingConventions
Dim types As Type()
Dim modifiers As ParameterModifier()
Dim returnValue As MethodInfo

returnValue = Me.GetMethodImpl(name, bindingAttr, binder, callConvention,
 types, modifiers)
protected override MethodInfo GetMethodImpl (
    string name,
    BindingFlags bindingAttr,
    Binder binder,
    CallingConventions callConvention,
    Type[] types,
    ParameterModifier[] modifiers
)
protected:
virtual MethodInfo^ GetMethodImpl (
    String^ name, 
    BindingFlags bindingAttr, 
    Binder^ binder, 
    CallingConventions callConvention, 
    array<Type^>^ types, 
    array<ParameterModifier>^ modifiers
) override
protected MethodInfo GetMethodImpl (
    String name, 
    BindingFlags bindingAttr, 
    Binder binder, 
    CallingConventions callConvention, 
    Type[] types, 
    ParameterModifier[] modifiers
)
protected override function GetMethodImpl (
    name : String, 
    bindingAttr : BindingFlags, 
    binder : Binder, 
    callConvention : CallingConventions, 
    types : Type[], 
    modifiers : ParameterModifier[]
) : MethodInfo

パラメータ

name

メソッド名。

bindingAttr

検索の実行方法に影響を与えるビットマスク。この値は、BindingFlags の 0 個以上のビット フラグの組み合わせです。

binder

バインディング、引数型の強制変換、メンバの呼び出し、および、リフレクションを使用した MemberInfo オブジェクトの取得を有効にするオブジェクト。binder が null 参照 (Visual Basic では Nothing) の場合は、既定のバインダが使用されます。

callConvention

呼び出し規約。

types

パラメータの数、順序、および型のリストを格納している type 型の配列。types は null 参照 (Visual Basic では Nothing) にできません。適切な GetMethod メソッドまたは空の配列を使用して、パラメータなしのメソッドを検索します。

modifiers

types 配列と同じ長さで、要素が取得するメソッドのパラメータに関連付けられた属性を表す ParameterModifier 型の配列。

戻り値
指定した基準と一致する実装メソッドの MethodInfoInfo オブジェクト。見つからなかった場合は null 参照 (Visual Basic では Nothing)。

解説解説

エントリ ポイントの呼び出し規約を示す callConvention パラメータ。CallingConventions を指定しない場合は、既定の CallingConventions 値である Standard が使用されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
TypeDelegator クラス
TypeDelegator メンバ
System.Reflection 名前空間
CallingConventions 列挙体
BindingFlags 列挙体
Binder クラス



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

TypeDelegator.GetMethodImpl メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



TypeDelegator.GetMethodImpl メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS