/
ColorTypeConverter.xml
358 lines (338 loc) · 25.1 KB
/
ColorTypeConverter.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<Type Name="ColorTypeConverter" FullName="System.Windows.Xps.Serialization.ColorTypeConverter">
<TypeSignature Language="C#" Value="public class ColorTypeConverter : System.ComponentModel.ExpandableObjectConverter" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ColorTypeConverter extends System.ComponentModel.ExpandableObjectConverter" />
<TypeSignature Language="DocId" Value="T:System.Windows.Xps.Serialization.ColorTypeConverter" />
<TypeSignature Language="VB.NET" Value="Public Class ColorTypeConverter
Inherits ExpandableObjectConverter" />
<TypeSignature Language="F#" Value="type ColorTypeConverter = class
 inherit ExpandableObjectConverter" />
<TypeSignature Language="C++ CLI" Value="public ref class ColorTypeConverter : System::ComponentModel::ExpandableObjectConverter" />
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ComponentModel.ExpandableObjectConverter</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides type converters for converting <see cref="T:System.Windows.Media.Color" /> objects to and from objects of other types.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This class also has methods for writing a <xref:System.Windows.Media.ColorContext> to an XML Paper Specification (XPS) package and reading a <xref:System.Windows.Media.ColorContext> from an XPS package that is given a string that represents the uniform resource identifier (URI) of the <xref:System.Windows.Media.ColorContext>.
See the base classes <xref:System.ComponentModel.TypeConverter> and <xref:System.ComponentModel.ExpandableObjectConverter> for important usage notes.
]]></format>
</remarks>
<related type="ExternalDocumentation" href="/windows/win32/wic/-wic-lh">Windows Imaging Component</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ColorTypeConverter ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ColorTypeConverter();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Xps.Serialization.ColorTypeConverter" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
See the base classes <xref:System.ComponentModel.TypeConverter> and <xref:System.ComponentModel.ExpandableObjectConverter> for important usage notes.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanConvertFrom">
<MemberSignature Language="C#" Value="public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool CanConvertFrom(class System.ComponentModel.ITypeDescriptorContext context, class System.Type sourceType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function CanConvertFrom (context As ITypeDescriptorContext, sourceType As Type) As Boolean" />
<MemberSignature Language="F#" Value="override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool" Usage="colorTypeConverter.CanConvertFrom (context, sourceType)" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ sourceType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="sourceType" Type="System.Type" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="sourceType">The type of object that is a candidate for conversion.</param>
<summary>Returns a value that indicates whether this converter can convert an instance of a specified type to a <see cref="T:System.Windows.Media.Color" />.</summary>
<returns>
<see langword="true" /> if objects of the specified type can be converted; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
As implemented in this class, this method returns `true` only if `sourceType` is a <xref:System.String>.
The `context` parameter is not used. See **Notes for Inheritors**.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>Override this method to provide your own conversion requirements. Use the <paramref name="context" /> parameter to extract additional information about the environment from which this converter is invoked. This parameter can be <see langword="null" />; therefore, always check it. Also, properties on the <paramref name="context" /> object can return a null reference (<see langword="Nothing" />).</para>
</block>
</Docs>
</Member>
<Member MemberName="CanConvertTo">
<MemberSignature Language="C#" Value="public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool CanConvertTo(class System.ComponentModel.ITypeDescriptorContext context, class System.Type destinationType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean" />
<MemberSignature Language="F#" Value="override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool" Usage="colorTypeConverter.CanConvertTo (context, destinationType)" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="destinationType" Type="System.Type" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="destinationType">The type of object that you want to convert a color to.</param>
<summary>Returns a value that indicates whether this <see cref="T:System.Windows.Xps.Serialization.ColorTypeConverter" /> can convert a <see cref="T:System.Windows.Media.Color" /> to an instance of a specified type.</summary>
<returns>
<see langword="true" /> if conversion is possible; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
As implemented in this class, this method returns `true` only if `destinationType` is a <xref:System.String>.
The `context` parameter is not used. See **Notes for Inheritors**.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>Override this method to provide your own conversion requirements. Use the <paramref name="context" /> parameter to extract additional information about the environment from which this converter is invoked. This parameter can be <see langword="null" />; therefore, always check it. Also, properties on the <paramref name="context" /> object can return a null reference (<see langword="Nothing" />).</para>
</block>
</Docs>
</Member>
<Member MemberName="ConvertFrom">
<MemberSignature Language="C#" Value="public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance object ConvertFrom(class System.ComponentModel.ITypeDescriptorContext context, class System.Globalization.CultureInfo culture, object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object" />
<MemberSignature Language="F#" Value="override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj" Usage="colorTypeConverter.ConvertFrom (context, culture, value)" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="culture">The language and culture that are used during the conversion.</param>
<param name="value">The object that is converted.</param>
<summary>Converts a specified object to a <see cref="T:System.Windows.Media.Color" />.</summary>
<returns>The new <see cref="T:System.Windows.Media.Color" /> object.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is not implemented in this class - except to throw exceptions. See **Notes for Inheritors**.
]]></format>
</remarks>
<exception cref="T:System.NotImplementedException">This method is called from this class instead of from a derived class.</exception>
<exception cref="T:System.ArgumentNullException">The <paramref name="value" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">The <paramref name="value" /> is not a type that can be converted.</exception>
<block subset="none" type="overrides">
<para>Override this method to provide a conversion method. Use the <paramref name="context" /> parameter to extract additional information about the environment from which this converter is invoked. Use the <paramref name="culture" /> parameter to provide information about the language or culture.</para>
</block>
</Docs>
</Member>
<Member MemberName="ConvertTo">
<MemberSignature Language="C#" Value="public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance object ConvertTo(class System.ComponentModel.ITypeDescriptorContext context, class System.Globalization.CultureInfo culture, object value, class System.Type destinationType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object" />
<MemberSignature Language="F#" Value="override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj" Usage="colorTypeConverter.ConvertTo (context, culture, value, destinationType)" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="destinationType" Type="System.Type" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="culture">The language and culture that are used during the conversion.</param>
<param name="value">The object you want to convert.</param>
<param name="destinationType">The type that <paramref name="value" /> is converted to.</param>
<summary>Converts a <see cref="T:System.Windows.Media.Color" /> to an object of the specified type.</summary>
<returns>The new <see cref="T:System.Object" /> of the designated type.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
As implemented in this class, `destinationType` must be a <xref:System.String> or the exception is thrown. The format of the string varies according to the value of `context` and `culture`.
If `culture` is `null`, the current system culture is used.
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">The <paramref name="destinationType" /> is not a type that <paramref name="value" /> can be converted to.
-or-
The <paramref name="culture" /> is a neutral culture.</exception>
</Docs>
</Member>
<Member MemberName="GetProperties">
<MemberSignature Language="C#" Value="public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.ComponentModel.PropertyDescriptorCollection GetProperties(class System.ComponentModel.ITypeDescriptorContext context, object value, class System.Attribute[] attributes) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext,System.Object,System.Attribute[])" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection" />
<MemberSignature Language="F#" Value="override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection" Usage="colorTypeConverter.GetProperties (context, value, attributes)" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ComponentModel.PropertyDescriptorCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" />
<Parameter Name="value" Type="System.Object" />
<Parameter Name="attributes" Type="System.Attribute[]" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="value">An object of the type for which you need property descriptions.</param>
<param name="attributes">An array of attributes that filter the returned collection to exclude irrelevant properties.</param>
<summary>Gets a collection of property descriptions for the specified type.</summary>
<returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that contains the property descriptions that are exposed for the component; or <see langword="null" /> if no property descriptions are returned.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is not implemented in this class - except to throw the exception. See **Notes for Inheritors**.
]]></format>
</remarks>
<exception cref="T:System.NotImplementedException">This method is called from this class instead of from a derived class.</exception>
<block subset="none" type="overrides">
<para>Override this method to provide a method for obtaining selected <see cref="T:System.ComponentModel.PropertyDescriptor" /> objects for the types. Use the <paramref name="context" /> parameter to extract additional information about the environment from which this converter is invoked. Use the <paramref name="attributes" /> array to designate the properties to include or to exclude.</para>
</block>
</Docs>
</Member>
<Member MemberName="SerializeColorContext">
<MemberSignature Language="C#" Value="public static string SerializeColorContext (IServiceProvider context, System.Windows.Media.ColorContext colorContext);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string SerializeColorContext(class System.IServiceProvider context, class System.Windows.Media.ColorContext colorContext) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Xps.Serialization.ColorTypeConverter.SerializeColorContext(System.IServiceProvider,System.Windows.Media.ColorContext)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function SerializeColorContext (context As IServiceProvider, colorContext As ColorContext) As String" />
<MemberSignature Language="F#" Value="static member SerializeColorContext : IServiceProvider * System.Windows.Media.ColorContext -> string" Usage="System.Windows.Xps.Serialization.ColorTypeConverter.SerializeColorContext (context, colorContext)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::String ^ SerializeColorContext(IServiceProvider ^ context, System::Windows::Media::ColorContext ^ colorContext);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>ReachFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="System.IServiceProvider" />
<Parameter Name="colorContext" Type="System.Windows.Media.ColorContext" />
</Parameters>
<Docs>
<param name="context">An object that provides contextual information.</param>
<param name="colorContext">The object to be serialized.</param>
<summary>Serializes a <see cref="T:System.Windows.Media.ColorContext" /> to the XML Paper Specification (XPS) package and returns its uniform resource identifier (URI) as a string.</summary>
<returns>A <see cref="T:System.String" /> that represents the URI of the color context.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="colorContext" /> is <see langword="null" />.</exception>
<related type="ExternalDocumentation" href="/windows/win32/wic/-wic-lh">Windows Imaging Component</related>
</Docs>
</Member>
</Members>
</Type>