ActivityBind.Path 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目標活動成員的路徑。 該值可用點符號表示巢狀值的路徑。 例如,路徑「A.B.C」表示 是 ActivityBind 指向名為「C」的欄位或性質,該欄位是欄位 'B' 的成員,而 B 又是欄位 'A',A' 是目標活動的成員。
public:
property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindPathTypeConverter))]
public string Path { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ActivityBindPathTypeConverter))>]
member this.Path : string with get, set
Public Property Path As String
屬性值
所選資料項目在所選 Activity路徑上。
- 屬性
例外狀況
當你嘗試設定這個數值時,會發生在 S ActivityBind 並非設計模式時。
範例
此範例說明了建立與使用 一個 ActivityBind,以及設定 Name 與 Path。
此程式碼範例是 Throw Activity SDK 範例的一部分,取自 ThrowActivity.cs 檔案。 欲了解更多資訊,請參閱 使用 ThrowActivity 活動。
備註
注意事項
此屬性無法在執行時設定。