IMemberCreationService.CreateProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 속성 이름, 속성 형식 및 특성을 사용하여 지정된 클래스에 속성을 만듭니다.
public:
void CreateProperty(System::String ^ className, System::String ^ propertyName, Type ^ propertyType, cli::array <System::Workflow::ComponentModel::Compiler::AttributeInfo ^> ^ attributes, bool emitDependencyProperty, bool isMetaProperty, bool isAttached, Type ^ ownerType, bool isReadOnly);
public void CreateProperty(string className, string propertyName, Type propertyType, System.Workflow.ComponentModel.Compiler.AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty, bool isAttached, Type ownerType, bool isReadOnly);
abstract member CreateProperty : string * string * Type * System.Workflow.ComponentModel.Compiler.AttributeInfo[] * bool * bool * bool * Type * bool -> unit
Public Sub CreateProperty (className As String, propertyName As String, propertyType As Type, attributes As AttributeInfo(), emitDependencyProperty As Boolean, isMetaProperty As Boolean, isAttached As Boolean, ownerType As Type, isReadOnly As Boolean)
매개 변수
- className
- String
필드를 추가할 클래스의 이름을 정의하는 문자열입니다.
- propertyName
- String
필드의 이름을 정의하는 문자열입니다.
- attributes
- AttributeInfo[]
AttributeInfo 속성에 할당할 모든 특성에 대한 정보가 들어 있는 배열입니다.
- emitDependencyProperty
- Boolean
true속성과 연결된 모든 종속성 속성을 내보내려면 그렇지 않으면 . false
- isMetaProperty
- Boolean
true속성을 메타 속성으로 만들려면 그렇지 않으면 . false
- isAttached
- Boolean
- isReadOnly
- Boolean
true 속성을 읽기 전용 속성으로 만들려면 false 속성을 읽기/쓰기 속성으로 만듭니다.