TrackingDataItemValue.DataValue Property
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 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
A string
representation of the value of the extracted data. The default is a null reference (Nothing
in Visual Basic).
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()
DataValue can be a null reference (Nothing
).
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: