ActivityBind.Path Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the path for a member of the target activity. The value can use dotted notation to indicate a path to a nested value. For example, a path of "A.B.C" indicates that the ActivityBind is to a field or property named 'C', which is a member of the field or property 'B', which in turn is a field or property 'A', which is a member of the target activity.
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
Property Value
The path of the data item of interest on the chosen Activity.
- Attributes
Exceptions
Occurs when you attempt to set this value when the ActivityBind is not in design mode.
Examples
This example illustrates creating and using an ActivityBind, and also setting the Name and Path.
This code example is part of the Throw Activity SDK sample and is from the ThrowActivity.cs file. For more information, see Using the ThrowActivity Activity.
Remarks
Caution
This property cannot be set at run time.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應