Bewerken

Delen via


QualificationDataItem.Value Property

Definition

Gets the value of the qualification data item.

public:
 property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String

Property Value

The value of the item.

Examples

The following example lists the qualification data for the pipeline segments associated with each AddInToken in a collection of tokens. The Value property is used to display the value of the item.

// Show the qualification data for each
// token in an AddInToken collection.
foreach (AddInToken token in tokens)
{
    foreach (QualificationDataItem qdi in token)
    {
        Console.WriteLine("{0} {1}\n\t QD Name: {2}, QD Value: {3}",
            token.Name,
            qdi.Segment,
            qdi.Name,
            qdi.Value);
    }
}
' Show the qualification data for each
' token in an AddInToken collection.
For Each token As AddInToken In tokens
    For Each qdi As QualificationDataItem In token
        Console.WriteLine("{0} {1}\n\t QD Name: {2}, QD Value: {3}", _
            token.Name, qdi.Segment, qdi.Name, qdi.Value)
    Next
Next

Remarks

Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the QualificationDataAttribute attribute, to provide information to consumers of the add-in. The Value property gets the value. Use the Name property to get the name.

Applies to