|
23 | 23 | <Docs>
|
24 | 24 | <summary>Represents information supplied by the developer of a pipeline segment, for use by the host.</summary>
|
25 | 25 | <remarks>
|
26 |
| - <format type="text/markdown"><![CDATA[ |
27 |
| - |
28 |
| -## Remarks |
29 |
| - Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information that qualifies the use of the segment (for example, the recommended isolation level for the segment). The <xref:System.AddIn.Hosting.QualificationDataItem> structure contains one name/value pair and the type of pipeline segment it was applied to. |
30 |
| - |
31 |
| - Use the <xref:System.AddIn.Hosting.AddInToken.QualificationData%2A?displayProperty=nameWithType> property to get a nested set of dictionaries that contains <xref:System.AddIn.Hosting.QualificationDataItem> structures for the pipeline segments associated with an <xref:System.AddIn.Hosting.AddInToken>. |
32 |
| - |
33 |
| - Alternatively, use the <xref:System.AddIn.Hosting.AddInToken.GetEnumerator%2A?displayProperty=nameWithType> method to get an enumerator for the <xref:System.AddIn.Hosting.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 <xref:System.AddIn.Hosting.QualificationDataItem> structures. |
34 |
| - |
35 |
| - |
36 |
| - |
37 |
| -## Examples |
38 |
| - The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. |
39 |
| - |
| 26 | + <format type="text/markdown"><![CDATA[ |
| 27 | +
|
| 28 | +## Remarks |
| 29 | + Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information that qualifies the use of the segment (for example, the recommended isolation level for the segment). The <xref:System.AddIn.Hosting.QualificationDataItem> structure contains one name/value pair and the type of pipeline segment it was applied to. |
| 30 | +
|
| 31 | + Use the <xref:System.AddIn.Hosting.AddInToken.QualificationData%2A?displayProperty=nameWithType> property to get a nested set of dictionaries that contains <xref:System.AddIn.Hosting.QualificationDataItem> structures for the pipeline segments associated with an <xref:System.AddIn.Hosting.AddInToken>. |
| 32 | +
|
| 33 | + Alternatively, use the <xref:System.AddIn.Hosting.AddInToken.GetEnumerator%2A?displayProperty=nameWithType> method to get an enumerator for the <xref:System.AddIn.Hosting.QualificationDataItem> structures of the pipeline segments associated with a token, or simply use a `foreach` statement (`For Each` in Visual Basic) to treat the token as if it were a collection of <xref:System.AddIn.Hosting.QualificationDataItem> structures. |
| 34 | +
|
| 35 | +## Examples |
| 36 | + The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. |
| 37 | +
|
40 | 38 | :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
|
41 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
42 |
| - |
| 39 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
| 40 | +
|
43 | 41 | ]]></format>
|
44 | 42 | </remarks>
|
45 | 43 | </Docs>
|
|
120 | 118 | <summary>Gets the name of the qualification data item.</summary>
|
121 | 119 | <value>The name of the qualification data item.</value>
|
122 | 120 | <remarks>
|
123 |
| - <format type="text/markdown"><![CDATA[ |
124 |
| - |
125 |
| -## Remarks |
126 |
| - Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information to consumers of the add-in. The <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property gets the name. Use the <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property to get the value. |
127 |
| - |
128 |
| - |
129 |
| - |
130 |
| -## Examples |
131 |
| - The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property is used to display the name of each item. |
132 |
| - |
| 121 | + <format type="text/markdown"><![CDATA[ |
| 122 | +
|
| 123 | +## Remarks |
| 124 | + Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information to consumers of the add-in. The <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property gets the name. Use the <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property to get the value. |
| 125 | +
|
| 126 | +
|
| 127 | +
|
| 128 | +## Examples |
| 129 | + The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property is used to display the name of each item. |
| 130 | +
|
133 | 131 | :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
|
134 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
135 |
| - |
| 132 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
| 133 | +
|
136 | 134 | ]]></format>
|
137 | 135 | </remarks>
|
138 | 136 | </Docs>
|
|
221 | 219 | <summary>Gets a value that identifies the pipeline segment the qualification data item was applied to.</summary>
|
222 | 220 | <value>The kind of pipeline segment the data item was applied to.</value>
|
223 | 221 | <remarks>
|
224 |
| - <format type="text/markdown"><![CDATA[ |
225 |
| - |
226 |
| -## Remarks |
227 |
| - When you enumerate qualification data, use this property to identify the qualification data that belongs to a particular segment of the pipeline. |
228 |
| - |
| 222 | + <format type="text/markdown"><![CDATA[ |
| 223 | +
|
| 224 | +## Remarks |
| 225 | + When you enumerate qualification data, use this property to identify the qualification data that belongs to a particular segment of the pipeline. |
| 226 | +
|
229 | 227 | > [!NOTE]
|
230 |
| -> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose <xref:System.AddIn.Hosting.QualificationDataItem.Segment%2A> property is <xref:System.AddIn.Hosting.AddInSegmentType.HostViewOfAddIn>. |
231 |
| - |
232 |
| - |
233 |
| - |
234 |
| -## Examples |
235 |
| - The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Segment%2A> property is used to display the kind of segment. |
236 |
| - |
| 228 | +> The add-in model does not use qualification data that is applied to the host view of the add-in. As a result, when you enumerate qualification data you will not find any items whose <xref:System.AddIn.Hosting.QualificationDataItem.Segment%2A> property is <xref:System.AddIn.Hosting.AddInSegmentType.HostViewOfAddIn>. |
| 229 | +
|
| 230 | +
|
| 231 | +
|
| 232 | +## Examples |
| 233 | + The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Segment%2A> property is used to display the kind of segment. |
| 234 | +
|
237 | 235 | :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
|
238 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
239 |
| - |
| 236 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
| 237 | +
|
240 | 238 | ]]></format>
|
241 | 239 | </remarks>
|
242 | 240 | </Docs>
|
|
267 | 265 | <summary>Gets the value of the qualification data item.</summary>
|
268 | 266 | <value>The value of the item.</value>
|
269 | 267 | <remarks>
|
270 |
| - <format type="text/markdown"><![CDATA[ |
271 |
| - |
272 |
| -## Remarks |
273 |
| - Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information to consumers of the add-in. The <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property gets the value. Use the <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property to get the name. |
274 |
| - |
275 |
| - |
276 |
| - |
277 |
| -## Examples |
278 |
| - The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property is used to display the value of the item. |
279 |
| - |
| 268 | + <format type="text/markdown"><![CDATA[ |
| 269 | +
|
| 270 | +## Remarks |
| 271 | + Each item of qualification data consists of a name/value pair that was applied to a pipeline segment by using the <xref:System.AddIn.Pipeline.QualificationDataAttribute> attribute, to provide information to consumers of the add-in. The <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property gets the value. Use the <xref:System.AddIn.Hosting.QualificationDataItem.Name%2A> property to get the name. |
| 272 | +
|
| 273 | +
|
| 274 | +
|
| 275 | +## Examples |
| 276 | + The following example lists the qualification data for the pipeline segments associated with each <xref:System.AddIn.Hosting.AddInToken> in a collection of tokens. The <xref:System.AddIn.Hosting.QualificationDataItem.Value%2A> property is used to display the value of the item. |
| 277 | +
|
280 | 278 | :::code language="csharp" source="~/snippets/csharp/System.AddIn.Hosting/AddInController/Overview/P3Host.cs" id="Snippet12":::
|
281 |
| - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
282 |
| - |
| 279 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb" id="Snippet12"::: |
| 280 | +
|
283 | 281 | ]]></format>
|
284 | 282 | </remarks>
|
285 | 283 | </Docs>
|
|
0 commit comments