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[][]

형식 배열의 배열입니다. 각 형식 배열은 해당 매개 변수에 대한 선택적 사용자 지정 한정자를 나타냅니다.

반환

정의된 생성자입니다.

적용 대상