TypeBuilder.DefineConstructorCore メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
派生クラスでオーバーライドされた場合は、指定された属性、シグネチャ、およびカスタム修飾子を使用して、新しいコンストラクターを 型に追加します。
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[][]
型の配列の配列。 型の各配列は、対応するパラメーターのオプションのカスタム修飾子を表します。
戻り値
定義済みのコンストラクター。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET