TypeBuilder.DefinePropertyCore 메서드

정의

파생 클래스에서 재정의되는 경우 지정된 이름, 호출 규칙, 속성 서명 및 사용자 지정 한정자를 사용하여 형식에 새 속성을 추가합니다.

protected:
 abstract System::Reflection::Emit::PropertyBuilder ^ DefinePropertyCore(System::String ^ name, System::Reflection::PropertyAttributes attributes, System::Reflection::CallingConventions callingConvention, Type ^ returnType, cli::array <Type ^> ^ returnTypeRequiredCustomModifiers, cli::array <Type ^> ^ returnTypeOptionalCustomModifiers, cli::array <Type ^> ^ parameterTypes, cli::array <cli::array <Type ^> ^> ^ parameterTypeRequiredCustomModifiers, cli::array <cli::array <Type ^> ^> ^ parameterTypeOptionalCustomModifiers);
protected abstract System.Reflection.Emit.PropertyBuilder DefinePropertyCore (string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, Type returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers);
abstract member DefinePropertyCore : string * System.Reflection.PropertyAttributes * System.Reflection.CallingConventions * Type * Type[] * Type[] * Type[] * Type[][] * Type[][] -> System.Reflection.Emit.PropertyBuilder
Protected MustOverride Function DefinePropertyCore (name As String, attributes As PropertyAttributes, callingConvention As CallingConventions, returnType As Type, returnTypeRequiredCustomModifiers As Type(), returnTypeOptionalCustomModifiers As Type(), parameterTypes As Type(), parameterTypeRequiredCustomModifiers As Type()(), parameterTypeOptionalCustomModifiers As Type()()) As PropertyBuilder

매개 변수

name
String

속성의 이름입니다. name에는 내장된 null이 포함될 수 없습니다.

attributes
PropertyAttributes

속성의 특성을 지정하는 열거형 값의 비트 조합입니다.

callingConvention
CallingConventions

속성 접근자의 호출 규칙입니다.

returnType
Type

속성의 반환 형식입니다.

returnTypeRequiredCustomModifiers
Type[]

필요한 사용자 지정 한정자를 나타내는 형식의 배열입니다.

returnTypeOptionalCustomModifiers
Type[]

선택적 사용자 지정 한정자를 나타내는 형식의 배열입니다.

parameterTypes
Type[]

메서드 매개 변수의 형식입니다.

parameterTypeRequiredCustomModifiers
Type[][]

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

parameterTypeOptionalCustomModifiers
Type[][]

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

반환

정의된 속성입니다.

적용 대상