QualificationDataItem Structure

QualificationDataItem Structure


Represents information supplied by the developer of a pipeline segment, for use by the host.

Namespace:   System.AddIn.Hosting
Assembly:  System.AddIn (in System.AddIn.dll)

public struct QualificationDataItem


Gets the name of the qualification data item.


Gets a value that identifies the pipeline segment the qualification data item was applied to.


Gets the value of the qualification data item.


Determines whether a specified object is equal to the current qualification data item.(Overrides ValueType.Equals(Object).)


Gets the hash code for this qualification data item.(Overrides ValueType.GetHashCode().)


Gets the Type of the current instance.(Inherited from Object.)


Returns the fully qualified type name of this instance.(Inherited from ValueType.)

System_CAPS_puboperatorSystem_CAPS_staticEquality(QualificationDataItem, QualificationDataItem)

Determines whether two QualificationDataItem structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(QualificationDataItem, QualificationDataItem)

Determines whether two QualificationDataItem structures are different.

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 that qualifies the use of the segment (for example, the recommended isolation level for the segment). The QualificationDataItem structure contains one name/value pair and the type of pipeline segment it was applied to.

Use the AddInToken.QualificationData property to get a nested set of dictionaries that contains QualificationDataItem structures for the pipeline segments associated with an AddInToken.

Alternatively, use the AddInToken.GetEnumerator method to get an enumerator for the QualificationDataItem structures of the pipeline segments associated with a token, or simply use a foreach statement (For Each in Visual Basic, for each in Visual C++) to treat the token as if it were a collection of QualificationDataItem structures.

The following example lists the qualification data for the pipeline segments associated with each AddInToken in a collection of tokens.

// 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}",

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
© 2015 Microsoft