共用方式為


AttachedPropertiesService.AddProperty(AttachedProperty) 方法

定義

將指定的屬性加入至目前執行個體的屬性。

public:
 void AddProperty(System::Activities::Presentation::Model::AttachedProperty ^ property);
public void AddProperty (System.Activities.Presentation.Model.AttachedProperty property);
member this.AddProperty : System.Activities.Presentation.Model.AttachedProperty -> unit
Public Sub AddProperty (property As AttachedProperty)

參數

property
AttachedProperty

要加入的屬性。

適用於