語言

IMemberCreationService.UpdateProperty 方法

定義

在指定類別上為一個屬性設定新的名稱和類型。

public:
 void UpdateProperty(System::String ^ className, System::String ^ oldPropertyName, Type ^ oldPropertyType, System::String ^ newPropertyName, Type ^ newPropertyType, cli::array <System::Workflow::ComponentModel::Compiler::AttributeInfo ^> ^ attributes, bool emitDependencyProperty, bool isMetaProperty);
public void UpdateProperty(string className, string oldPropertyName, Type oldPropertyType, string newPropertyName, Type newPropertyType, System.Workflow.ComponentModel.Compiler.AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty);
abstract member UpdateProperty : string * string * Type * string * Type * System.Workflow.ComponentModel.Compiler.AttributeInfo[] * bool * bool -> unit
Public Sub UpdateProperty (className As String, oldPropertyName As String, oldPropertyType As Type, newPropertyName As String, newPropertyType As Type, attributes As AttributeInfo(), emitDependencyProperty As Boolean, isMetaProperty As Boolean)

參數

className
String

一個包含該屬性所處類別名稱的字串。

oldPropertyName
String

一個包含該物業現有名稱的字串。

oldPropertyType
Type

與 Type 現有房產相關。

newPropertyName
String

包含該屬性新名稱的字串。

newPropertyType
Type

Type與更新版房產相關聯。

attributes
AttributeInfo[]

一個 AttributeInfo 包含所有屬性資訊的陣列,這些屬性需指派給更新的屬性。

emitDependencyProperty
Boolean

true若要更新屬性,則會發出一個依賴屬性;否則,。 false

isMetaProperty
Boolean

true將該性質設為元性質;否則,。 false

適用於