Editare

Partajați prin


TrackingDataItemValue.DataValue Property

Definition

Gets or sets a string representation of the value of the extracted data.

public:
 property System::String ^ DataValue { System::String ^ get(); void set(System::String ^ value); };
public string DataValue { get; set; }
member this.DataValue : string with get, set
Public Property DataValue As String

Property Value

A string representation of the value of the extracted data. The default is a null reference (Nothing in Visual Basic).

Examples

The following example demonstrates setting the DataValue property. This example is from the Workflow Monitor SDK sample. For more information, see Workflow Monitor Sample.

trackingDataItemValue = new TrackingDataItemValue(string.Empty, string.Empty, string.Empty);
trackingDataItemValue.QualifiedName = this.toolStripTextBoxArtifactQualifiedId.Text.ToString();
trackingDataItemValue.FieldName = this.toolStripTextBoxArtifactKeyName.Text.ToString();
trackingDataItemValue.DataValue = this.toolStripTextBoxArtifactKeyValue.Text.ToString();
TrackingDataItemValue = New TrackingDataItemValue(String.Empty, String.Empty, String.Empty)
TrackingDataItemValue.QualifiedName = Me.toolStripTextBoxArtifactQualifiedId.Text.ToString()
TrackingDataItemValue.FieldName = Me.toolStripTextBoxArtifactKeyName.Text.ToString()
TrackingDataItemValue.DataValue = Me.toolStripTextBoxArtifactKeyValue.Text.ToString()

Remarks

DataValue can be a null reference (Nothing).

Applies to