ActivityBind.Path Propriedade

Definição

Obtém ou define o caminho para um membro da atividade de destino.Gets or sets the path for a member of the target activity. O valor pode usar a notação pontilhada para indicar um caminho para um valor aninhado.The value can use dotted notation to indicate a path to a nested value. Por exemplo, um caminho de "A.B.C" indica que o ActivityBind é para um campo ou propriedade chamada 'C', que é um membro do campo ou propriedade 'B', que por sua vez é um campo ou propriedade 'A', que é um membro da atividade de destino.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

Valor da propriedade

String

O caminho do item de dados de interesse no escolhido Activity .The path of the data item of interest on the chosen Activity.

Atributos

Exceções

Ocorre quando você tenta definir esse valor quando o ActivityBind não está no modo de design.Occurs when you attempt to set this value when the ActivityBind is not in design mode.

Exemplos

Este exemplo ilustra a criação e o uso de um ActivityBind , e também a definição de Name e Path .This example illustrates creating and using an ActivityBind, and also setting the Name and Path.

Este exemplo de código faz parte do exemplo de SDK de atividade Throw e é do arquivo ThrowActivity. cs.This code example is part of the Throw Activity SDK sample and is from the ThrowActivity.cs file. Para obter mais informações, consulte usando a atividade ThrowActivity.For more information, see Using the ThrowActivity Activity.

Comentários

Cuidado

Esta propriedade não pode ser definida em tempo de execução.This property cannot be set at run time.

Aplica-se a