TrackingDataItemValue.DataValue Property

Definition

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

C#
public string DataValue { get; set; }

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.

C#
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();

Remarks

DataValue can be a null reference (Nothing).

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1