TypeBuilder.DefineConstructorCore メソッド

定義

派生クラスでオーバーライドされた場合は、指定された属性、シグネチャ、およびカスタム修飾子を使用して、新しいコンストラクターを 型に追加します。

protected:
 abstract System::Reflection::Emit::ConstructorBuilder ^ DefineConstructorCore(System::Reflection::MethodAttributes attributes, System::Reflection::CallingConventions callingConvention, cli::array <Type ^> ^ parameterTypes, cli::array <cli::array <Type ^> ^> ^ requiredCustomModifiers, cli::array <cli::array <Type ^> ^> ^ optionalCustomModifiers);
protected abstract System.Reflection.Emit.ConstructorBuilder DefineConstructorCore (System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, Type[]? parameterTypes, Type[][]? requiredCustomModifiers, Type[][]? optionalCustomModifiers);
abstract member DefineConstructorCore : System.Reflection.MethodAttributes * System.Reflection.CallingConventions * Type[] * Type[][] * Type[][] -> System.Reflection.Emit.ConstructorBuilder
Protected MustOverride Function DefineConstructorCore (attributes As MethodAttributes, callingConvention As CallingConventions, parameterTypes As Type(), requiredCustomModifiers As Type()(), optionalCustomModifiers As Type()()) As ConstructorBuilder

パラメーター

attributes
MethodAttributes

コンストラクターの属性を指定する列挙値のビットごとの組み合わせ。

callingConvention
CallingConventions

コンストラクターの呼び出し規約。

parameterTypes
Type[]

コンストラクターのパラメーター型。

requiredCustomModifiers
Type[][]

型の配列の配列。 型の各配列は、対応するパラメーターに必要なカスタム修飾子を表します。

optionalCustomModifiers
Type[][]

型の配列の配列。 型の各配列は、対応するパラメーターのオプションのカスタム修飾子を表します。

戻り値

定義済みのコンストラクター。

適用対象