TypeDelegator.GetConstructorImpl メソッド
TypeDelegator を実装したコンストラクタを取得します。
Overrides Protected Function GetConstructorImpl( _
ByVal bindingAttr As BindingFlags, _ ByVal binder As Binder, _ ByVal callConvention As CallingConventions, _ ByVal types() As Type, _ ByVal modifiers() As ParameterModifier _) As ConstructorInfo
[C#]
protected override ConstructorInfo GetConstructorImpl(BindingFlagsbindingAttr,Binderbinder,CallingConventionscallConvention,Type[] types,ParameterModifier[] modifiers);
[C++]
protected: ConstructorInfo* GetConstructorImpl(BindingFlagsbindingAttr,Binder* binder,CallingConventionscallConvention,Type* types[],ParameterModifiermodifiers[]);
[JScript]
protected override function GetConstructorImpl(
bindingAttr : BindingFlags,binder : Binder,callConvention : CallingConventions,types : Type[],modifiers : ParameterModifier[]) : ConstructorInfo;
パラメータ
- bindingAttr
検索の実行方法に影響を与えるビットマスク。この値は、 BindingFlags の 0 個以上のビット フラグの組み合わせです。 - binder
バインディング、引数型の強制変換、メンバの呼び出し、および、リフレクションを使用した MemberInfo オブジェクトの取得を有効にするオブジェクト。binder が null 参照 (Visual Basic では Nothing) の場合は、既定のバインダが使用されます。 - callConvention
呼び出し規約。 - types
パラメータの数、順序、および型のリストを格納している type 型の配列。types は null 参照 (Visual Basic では Nothing) にできません。適切な GetMethod メソッドまたは空の配列を使用して、パラメータなしのメソッドを検索します。 - modifiers
types 配列と同じ長さで、要素が取得するメソッドのパラメータに関連付けられた属性を表す ParameterModifier 型の配列。
戻り値
指定した基準と一致するメソッドの ConstructorInfo オブジェクト。見つからなかった場合は null 参照 (Visual Basic では Nothing) 。
解説
エントリ ポイントの呼び出し規約を示す callConvention パラメータ。呼び出し規約を指定しない場合は、既定の CallingConventions 値である Standard が使用されます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
TypeDelegator クラス | TypeDelegator メンバ | System.Reflection 名前空間 | CallingConventions | BindingFlags | Binder