QualificationDataItem.Name Property
Definition
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 the name of the qualification data item.
public:
property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String
Property Value
The name of the qualification data item.
Examples
The following example lists the qualification data for the pipeline segments associated with each AddInToken in a collection of tokens. The Name property is used to display the name of each 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 Name property gets the name. Use the Value property to get the value.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για