Επεξεργασία

Κοινή χρήση μέσω


ActivityBind.Name Property

Definition

Gets or sets the name of the Activity that the ActivityBind points to.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Workflow.ComponentModel.Serialization.ConstructorArgument("name")]
public string Name { get; set; }
[<System.Workflow.ComponentModel.Serialization.ConstructorArgument("name")>]
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the Activity that the ActivityBind points to.

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 of setting the Name.

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.

Applies to