Merge pull request #920
[mono.git] / mcs / class / System.XML / Documentation / en / System.Xml.Schema / XmlSchemaCollection.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="XmlSchemaCollection" FullName="System.Xml.Schema.XmlSchemaCollection">
3   <TypeSignature Maintainer="auto" Language="C#" Value="public sealed class XmlSchemaCollection : System.Collections.ICollection" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit XmlSchemaCollection extends System.Object implements class System.Collections.ICollection, class System.Collections.IEnumerable" />
5   <AssemblyInfo>
6     <AssemblyName>System.Xml</AssemblyName>
7     <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9     <AssemblyVersion>2.0.0.0</AssemblyVersion>
10     <AssemblyVersion>4.0.0.0</AssemblyVersion>
11   </AssemblyInfo>
12   <ThreadSafetyStatement>To be added</ThreadSafetyStatement>
13   <Base>
14     <BaseTypeName>System.Object</BaseTypeName>
15   </Base>
16   <Interfaces>
17     <Interface>
18       <InterfaceName>System.Collections.ICollection</InterfaceName>
19     </Interface>
20   </Interfaces>
21   <Attributes>
22     <Attribute>
23       <AttributeName>System.Obsolete("Use XmlSchemaSet.")</AttributeName>
24     </Attribute>
25   </Attributes>
26   <Docs>
27     <remarks>
28       <attribution license="cc4" from="Microsoft" modified="false" />
29       <para>Schemas are loaded using the <see cref="M:System.Xml.Schema.XmlSchemaCollection.Add(System.String,System.String)" /> method, at which time the schema is associated with a namespace Uniform Resource Identifier (URI). For XML Schemas, this will typically be the targetNamespace property of the schema.</para>
30       <para>Although this class stores both XML Schemas and XDR schemas, any method and property that takes or returns an <see cref="T:System.Xml.Schema.XmlSchema" /> applies to XML Schemas only.</para>
31       <para>This version of the product supports the World Wide Web Consortium (W3C) XML Schema recommendation located at http://www.w3.org/TR/xmlschema-1 and http://www.w3.org/TR/xmlschema-2. An XML Schema must reference the W3C Schema namespace http://www.w3.org/2001/XMLSchema in its schema element. See the <see cref="M:System.Xml.Schema.XmlSchemaCollection.Add(System.String,System.String)" /> method for an example.</para>
32       <para>XmlSchemaCollection can be used by <see cref="T:System.Xml.XmlValidatingReader" /> for efficient data validation.</para>
33       <block subset="none" type="note">
34         <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the Microsoft .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
35       </block>
36     </remarks>
37     <summary>
38       <attribution license="cc4" from="Microsoft" modified="false" />
39       <para>Contains a cache of XML Schema definition language (XSD) and XML-Data Reduced (XDR) schemas. The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class class is obsolete. Use <see cref="T:System.Xml.Schema.XmlSchemaSet" /> instead.</para>
40     </summary>
41   </Docs>
42   <Members>
43     <Member MemberName=".ctor">
44       <MemberSignature Language="C#" Value="public XmlSchemaCollection ();" />
45       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
46       <MemberType>Constructor</MemberType>
47       <AssemblyInfo>
48         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
49         <AssemblyVersion>2.0.0.0</AssemblyVersion>
50         <AssemblyVersion>4.0.0.0</AssemblyVersion>
51       </AssemblyInfo>
52       <ReturnValue />
53       <Parameters />
54       <Docs>
55         <remarks>
56           <attribution license="cc4" from="Microsoft" modified="false" />
57           <block subset="none" type="note">
58             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
59           </block>
60         </remarks>
61         <summary>
62           <attribution license="cc4" from="Microsoft" modified="false" />
63           <para>Initializes a new instance of the XmlSchemaCollection class.</para>
64         </summary>
65       </Docs>
66     </Member>
67     <Member MemberName=".ctor">
68       <MemberSignature Language="C#" Value="public XmlSchemaCollection (System.Xml.XmlNameTable nametable);" />
69       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Xml.XmlNameTable nametable) cil managed" />
70       <MemberType>Constructor</MemberType>
71       <AssemblyInfo>
72         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
73         <AssemblyVersion>2.0.0.0</AssemblyVersion>
74         <AssemblyVersion>4.0.0.0</AssemblyVersion>
75       </AssemblyInfo>
76       <ReturnValue />
77       <Parameters>
78         <Parameter Name="nametable" Type="System.Xml.XmlNameTable" />
79       </Parameters>
80       <Docs>
81         <remarks>To be added</remarks>
82         <summary>
83           <attribution license="cc4" from="Microsoft" modified="false" />
84           <para>Initializes a new instance of the XmlSchemaCollection class with the specified <see cref="T:System.Xml.XmlNameTable" />. The XmlNameTable is used when loading schemas.</para>
85         </summary>
86         <param name="nametable">
87           <attribution license="cc4" from="Microsoft" modified="false" />The XmlNameTable to use. </param>
88       </Docs>
89     </Member>
90     <Member MemberName="Add">
91       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema Add (System.Xml.Schema.XmlSchema schema);" />
92       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchema Add(class System.Xml.Schema.XmlSchema schema) cil managed" />
93       <MemberType>Method</MemberType>
94       <AssemblyInfo>
95         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
96         <AssemblyVersion>2.0.0.0</AssemblyVersion>
97         <AssemblyVersion>4.0.0.0</AssemblyVersion>
98       </AssemblyInfo>
99       <ReturnValue>
100         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
101       </ReturnValue>
102       <Parameters>
103         <Parameter Name="schema" Type="System.Xml.Schema.XmlSchema" />
104       </Parameters>
105       <Docs>
106         <returns>To be added: an object of type 'XmlSchema'</returns>
107         <remarks>
108           <attribution license="cc4" from="Microsoft" modified="false" />
109           <para>The targetNamespace attribute is used to identify this schema.</para>
110           <para>If the schema being added contains references to other namespaces (through include and import elements), the trust level of the application determines how these other namespaces are resolved. (In the .NET Framework version 1.0, a default <see cref="T:System.Xml.XmlUrlResolver" /> was always used).</para>
111           <para>Fully trusted code: A default XmlUrlResolver with no user credentials is used to resolve any external resources. The schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties. If these external resources are located on a network resource that requires authentication, use an overload that takes an <see cref="T:System.Xml.XmlResolver" /> as one of its arguments and specify an XmlResolver with the necessary credentials.</para>
112           <para>Semi-trusted code: External references are not resolved.</para>
113           <block subset="none" type="note">
114             <para>If the XmlSchemaCollection is being accessed using the <see cref="P:System.Xml.XmlValidatingReader.Schemas" /> property, the Add method uses the XmlResolver specified by the <see cref="P:System.Xml.XmlValidatingReader.XmlResolver" /> property.</para>
115           </block>
116           <block subset="none" type="note">
117             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
118           </block>
119         </remarks>
120         <summary>
121           <attribution license="cc4" from="Microsoft" modified="false" />
122           <para>Adds the <see cref="T:System.Xml.Schema.XmlSchema" /> to the collection.</para>
123         </summary>
124         <param name="schema">
125           <attribution license="cc4" from="Microsoft" modified="false" />The XmlSchema to add to the collection. </param>
126       </Docs>
127     </Member>
128     <Member MemberName="Add">
129       <MemberSignature Language="C#" Value="public void Add (System.Xml.Schema.XmlSchemaCollection schema);" />
130       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(class System.Xml.Schema.XmlSchemaCollection schema) cil managed" />
131       <MemberType>Method</MemberType>
132       <AssemblyInfo>
133         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
134         <AssemblyVersion>2.0.0.0</AssemblyVersion>
135         <AssemblyVersion>4.0.0.0</AssemblyVersion>
136       </AssemblyInfo>
137       <ReturnValue>
138         <ReturnType>System.Void</ReturnType>
139       </ReturnValue>
140       <Parameters>
141         <Parameter Name="schema" Type="System.Xml.Schema.XmlSchemaCollection" />
142       </Parameters>
143       <Docs>
144         <remarks>
145           <attribution license="cc4" from="Microsoft" modified="false" />
146           <para>If the schema being added contains references to other namespaces (through include and import elements or the x-schema attribute), the trust level of the application determines how these other namespaces are resolved. (In the .NET Framework version 1.0, a default <see cref="T:System.Xml.XmlUrlResolver" /> was always used).</para>
147           <para>Fully trusted code: A default XmlUrlResolver with no user credentials is used to resolve any external resources. The schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties. If these external resources are located on a network resource that requires authentication, use an overload that takes an <see cref="T:System.Xml.XmlResolver" /> as one of its arguments and specify an XmlResolver with the necessary credentials.</para>
148           <para>Semi-trusted code: External references are not resolved.</para>
149           <block subset="none" type="note">
150             <para>If the XmlSchemaCollection is being accessed using the <see cref="P:System.Xml.XmlValidatingReader.Schemas" /> property, the Add method uses the XmlResolver specified by the <see cref="P:System.Xml.XmlValidatingReader.XmlResolver" /> property.</para>
151           </block>
152           <block subset="none" type="note">
153             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
154           </block>
155         </remarks>
156         <summary>
157           <attribution license="cc4" from="Microsoft" modified="false" />
158           <para>Adds all the namespaces defined in the given collection (including their associated schemas) to this collection.</para>
159         </summary>
160         <param name="schema">
161           <attribution license="cc4" from="Microsoft" modified="false" />The XmlSchemaCollection you want to add to this collection. </param>
162       </Docs>
163     </Member>
164     <Member MemberName="Add">
165       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema Add (string ns, string uri);" />
166       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchema Add(string ns, string uri) cil managed" />
167       <MemberType>Method</MemberType>
168       <AssemblyInfo>
169         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
170         <AssemblyVersion>2.0.0.0</AssemblyVersion>
171         <AssemblyVersion>4.0.0.0</AssemblyVersion>
172       </AssemblyInfo>
173       <ReturnValue>
174         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
175       </ReturnValue>
176       <Parameters>
177         <Parameter Name="ns" Type="System.String" />
178         <Parameter Name="uri" Type="System.String" />
179       </Parameters>
180       <Docs>
181         <returns>To be added: an object of type 'XmlSchema'</returns>
182         <remarks>
183           <attribution license="cc4" from="Microsoft" modified="false" />
184           <para>If <paramref name="ns" /> has already been associated with another schema in the collection, the schema being added replaces the original schema in the collection. For example, in the following C# code, authors.xsd is removed from the collection and names.xsd is added.</para>
185           <code> schemaColl.Add("urn:author", "authors.xsd");
186  schemaColl.Add("urn:author", "names.xsd");</code>
187           <para>If <paramref name="ns" /> is null and the schema being added is an XML Schema, the Add method uses the targetNamespace defined in the XML Schema to identify the schema in the collection. If the schema being added contains references to other namespaces (through include and import elements or the x-schema attribute), the trust level of the application determines how these other namespaces are resolved. (In the .NET Framework version 1.0, a default <see cref="T:System.Xml.XmlUrlResolver" /> was always used).</para>
188           <para>Fully trusted code: A default XmlUrlResolver with no user credentials is used to resolve any external resources. The schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties. If these external resources are located on a network resource that requires authentication, use an overload that takes an <see cref="T:System.Xml.XmlResolver" /> as one of its arguments and specify an XmlResolver with the necessary credentials.</para>
189           <para>Semi-trusted code: External references are not resolved.</para>
190           <block subset="none" type="note">
191             <para>If the XmlSchemaCollection is being accessed using the <see cref="P:System.Xml.XmlValidatingReader.Schemas" /> property, the Add method uses the XmlResolver specified by the <see cref="P:System.Xml.XmlValidatingReader.XmlResolver" /> property.</para>
192           </block>
193           <block subset="none" type="note">
194             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
195           </block>
196         </remarks>
197         <summary>
198           <attribution license="cc4" from="Microsoft" modified="false" />
199           <para>Adds the schema located by the given URL into the schema collection.</para>
200         </summary>
201         <param name="ns">
202           <attribution license="cc4" from="Microsoft" modified="false" />The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. </param>
203         <param name="uri">
204           <attribution license="cc4" from="Microsoft" modified="false" />The URL that specifies the schema to load. </param>
205       </Docs>
206     </Member>
207     <Member MemberName="Add">
208       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema Add (string ns, System.Xml.XmlReader reader);" />
209       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchema Add(string ns, class System.Xml.XmlReader reader) cil managed" />
210       <MemberType>Method</MemberType>
211       <AssemblyInfo>
212         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
213         <AssemblyVersion>2.0.0.0</AssemblyVersion>
214         <AssemblyVersion>4.0.0.0</AssemblyVersion>
215       </AssemblyInfo>
216       <ReturnValue>
217         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
218       </ReturnValue>
219       <Parameters>
220         <Parameter Name="ns" Type="System.String" />
221         <Parameter Name="reader" Type="System.Xml.XmlReader" />
222       </Parameters>
223       <Docs>
224         <returns>To be added: an object of type 'XmlSchema'</returns>
225         <remarks>
226           <attribution license="cc4" from="Microsoft" modified="false" />
227           <para>If <paramref name="ns" /> has already been associated with another schema in the collection, the schema being added replaces the original schema in the collection.</para>
228           <para>If <paramref name="ns" /> is null and the schema being added is an XML Schema, the Add method uses the targetNamespace defined in the XML Schema to identify the schema in the collection.</para>
229           <para>If the schema being added contains references to other namespaces (through include and import elements or the x-schema attribute), the trust level of the application determines how these other namespaces are resolved. (In the .NET Framework version 1.0, a default <see cref="T:System.Xml.XmlUrlResolver" /> was always used).</para>
230           <para>Fully trusted code: A default XmlUrlResolver with no user credentials is used to resolve any external resources. The schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties. If these external resources are located on a network resource that requires authentication, use an overload that takes an <see cref="T:System.Xml.XmlResolver" /> as one of its arguments and specify an XmlResolver with the necessary credentials.</para>
231           <para>Semi-trusted code: External references are not resolved.</para>
232           <block subset="none" type="note">
233             <para>If the XmlSchemaCollection is being accessed using the <see cref="P:System.Xml.XmlValidatingReader.Schemas" /> property, the Add method uses the XmlResolver specified by the <see cref="P:System.Xml.XmlValidatingReader.XmlResolver" /> property.</para>
234           </block>
235           <block subset="none" type="note">
236             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
237           </block>
238         </remarks>
239         <summary>
240           <attribution license="cc4" from="Microsoft" modified="false" />
241           <para>Adds the schema contained in the <see cref="T:System.Xml.XmlReader" /> to the schema collection.</para>
242         </summary>
243         <param name="ns">
244           <attribution license="cc4" from="Microsoft" modified="false" />The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. </param>
245         <param name="reader">
246           <attribution license="cc4" from="Microsoft" modified="false" />
247           <see cref="T:System.Xml.XmlReader" /> containing the schema to add. </param>
248       </Docs>
249     </Member>
250     <Member MemberName="Add">
251       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema Add (System.Xml.Schema.XmlSchema schema, System.Xml.XmlResolver resolver);" />
252       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchema Add(class System.Xml.Schema.XmlSchema schema, class System.Xml.XmlResolver resolver) cil managed" />
253       <MemberType>Method</MemberType>
254       <AssemblyInfo>
255         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
256         <AssemblyVersion>2.0.0.0</AssemblyVersion>
257         <AssemblyVersion>4.0.0.0</AssemblyVersion>
258       </AssemblyInfo>
259       <ReturnValue>
260         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
261       </ReturnValue>
262       <Parameters>
263         <Parameter Name="schema" Type="System.Xml.Schema.XmlSchema" />
264         <Parameter Name="resolver" Type="System.Xml.XmlResolver" />
265       </Parameters>
266       <Docs>
267         <returns>To be added.</returns>
268         <remarks>
269           <attribution license="cc4" from="Microsoft" modified="false" />
270           <para>The targetNamespace attribute is used to identify this schema.</para>
271           <para>If the schema contains include and import elements that reference other namespaces, the schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties.</para>
272           <block subset="none" type="note">
273             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
274           </block>
275         </remarks>
276         <summary>
277           <attribution license="cc4" from="Microsoft" modified="false" />
278           <para>Adds the <see cref="T:System.Xml.Schema.XmlSchema" /> to the collection. The specified <see cref="T:System.Xml.XmlResolver" /> is used to resolve any external references.</para>
279         </summary>
280         <param name="schema">
281           <attribution license="cc4" from="Microsoft" modified="false" />The XmlSchema to add to the collection. </param>
282         <param name="resolver">
283           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlResolver" /> used to resolve namespaces referenced in include and import elements. If this is null, external references are not resolved. </param>
284       </Docs>
285     </Member>
286     <Member MemberName="Add">
287       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema Add (string ns, System.Xml.XmlReader reader, System.Xml.XmlResolver resolver);" />
288       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchema Add(string ns, class System.Xml.XmlReader reader, class System.Xml.XmlResolver resolver) cil managed" />
289       <MemberType>Method</MemberType>
290       <AssemblyInfo>
291         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
292         <AssemblyVersion>2.0.0.0</AssemblyVersion>
293         <AssemblyVersion>4.0.0.0</AssemblyVersion>
294       </AssemblyInfo>
295       <ReturnValue>
296         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
297       </ReturnValue>
298       <Parameters>
299         <Parameter Name="ns" Type="System.String" />
300         <Parameter Name="reader" Type="System.Xml.XmlReader" />
301         <Parameter Name="resolver" Type="System.Xml.XmlResolver" />
302       </Parameters>
303       <Docs>
304         <returns>To be added.</returns>
305         <remarks>
306           <attribution license="cc4" from="Microsoft" modified="false" />
307           <para>If <paramref name="ns" /> has already been associated with another schema in the collection, the schema being added replaces the original schema in the collection.</para>
308           <para>If <paramref name="ns" /> is null and the schema being added is an XML Schema, the Add method uses the targetNamespace attribute defined in the XML Schema to identify the schema in the collection.</para>
309           <para>If the schema being added contains references to other namespaces (through include and import elements or the x-schema attribute), the schemas for these other namespaces are loaded for validation purposes only. Unlike the original schema, these other schemas are not explicitly added to the schema collection. As a result, they are not accessible using any of the collection methods or properties.</para>
310           <block subset="none" type="note">
311             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
312           </block>
313         </remarks>
314         <summary>
315           <attribution license="cc4" from="Microsoft" modified="false" />
316           <para>Adds the schema contained in the <see cref="T:System.Xml.XmlReader" /> to the schema collection. The specified <see cref="T:System.Xml.XmlResolver" /> is used to resolve any external resources.</para>
317         </summary>
318         <param name="ns">
319           <attribution license="cc4" from="Microsoft" modified="false" />The namespace URI associated with the schema. For XML Schemas, this will typically be the targetNamespace. </param>
320         <param name="reader">
321           <attribution license="cc4" from="Microsoft" modified="false" />
322           <see cref="T:System.Xml.XmlReader" /> containing the schema to add. </param>
323         <param name="resolver">
324           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlResolver" /> used to resolve namespaces referenced in include and import elements or x-schema attribute (XDR schemas). If this is null, external references are not resolved. </param>
325       </Docs>
326     </Member>
327     <Member MemberName="Contains">
328       <MemberSignature Language="C#" Value="public bool Contains (string ns);" />
329       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(string ns) cil managed" />
330       <MemberType>Method</MemberType>
331       <AssemblyInfo>
332         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
333         <AssemblyVersion>2.0.0.0</AssemblyVersion>
334         <AssemblyVersion>4.0.0.0</AssemblyVersion>
335       </AssemblyInfo>
336       <ReturnValue>
337         <ReturnType>System.Boolean</ReturnType>
338       </ReturnValue>
339       <Parameters>
340         <Parameter Name="ns" Type="System.String" />
341       </Parameters>
342       <Docs>
343         <returns>To be added: an object of type 'bool'</returns>
344         <remarks>
345           <attribution license="cc4" from="Microsoft" modified="false" />
346           <block subset="none" type="note">
347             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
348           </block>
349         </remarks>
350         <summary>
351           <attribution license="cc4" from="Microsoft" modified="false" />
352           <para>Gets a value indicating whether a schema with the specified namespace is in the collection.</para>
353         </summary>
354         <param name="ns">
355           <attribution license="cc4" from="Microsoft" modified="false" />The namespace URI associated with the schema. For XML Schemas, this will typically be the target namespace. </param>
356       </Docs>
357     </Member>
358     <Member MemberName="Contains">
359       <MemberSignature Language="C#" Value="public bool Contains (System.Xml.Schema.XmlSchema schema);" />
360       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(class System.Xml.Schema.XmlSchema schema) cil managed" />
361       <MemberType>Method</MemberType>
362       <AssemblyInfo>
363         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
364         <AssemblyVersion>2.0.0.0</AssemblyVersion>
365         <AssemblyVersion>4.0.0.0</AssemblyVersion>
366       </AssemblyInfo>
367       <ReturnValue>
368         <ReturnType>System.Boolean</ReturnType>
369       </ReturnValue>
370       <Parameters>
371         <Parameter Name="schema" Type="System.Xml.Schema.XmlSchema" />
372       </Parameters>
373       <Docs>
374         <returns>To be added: an object of type 'bool'</returns>
375         <remarks>
376           <attribution license="cc4" from="Microsoft" modified="false" />
377           <block subset="none" type="note">
378             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
379           </block>
380         </remarks>
381         <summary>
382           <attribution license="cc4" from="Microsoft" modified="false" />
383           <para>Gets a value indicating whether the targetNamespace of the specified <see cref="T:System.Xml.Schema.XmlSchema" /> is in the collection.</para>
384         </summary>
385         <param name="schema">
386           <attribution license="cc4" from="Microsoft" modified="false" />The XmlSchema object. </param>
387       </Docs>
388     </Member>
389     <Member MemberName="CopyTo">
390       <MemberSignature Language="C#" Value="public void CopyTo (System.Xml.Schema.XmlSchema[] array, int index);" />
391       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyTo(class System.Xml.Schema.XmlSchema[] array, int32 index) cil managed" />
392       <MemberType>Method</MemberType>
393       <AssemblyInfo>
394         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
395         <AssemblyVersion>2.0.0.0</AssemblyVersion>
396         <AssemblyVersion>4.0.0.0</AssemblyVersion>
397       </AssemblyInfo>
398       <ReturnValue>
399         <ReturnType>System.Void</ReturnType>
400       </ReturnValue>
401       <Parameters>
402         <Parameter Name="array" Type="System.Xml.Schema.XmlSchema[]" />
403         <Parameter Name="index" Type="System.Int32" />
404       </Parameters>
405       <Docs>
406         <remarks>
407           <attribution license="cc4" from="Microsoft" modified="false" />
408           <block subset="none" type="note">
409             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
410           </block>
411         </remarks>
412         <summary>
413           <attribution license="cc4" from="Microsoft" modified="false" />
414           <para>Copies all the XmlSchema objects from this collection into the given array starting at the given index.</para>
415         </summary>
416         <param name="array">
417           <attribution license="cc4" from="Microsoft" modified="false" />The array to copy the objects to. </param>
418         <param name="index">
419           <attribution license="cc4" from="Microsoft" modified="false" />The index in <paramref name="array" /> where copying will begin. </param>
420       </Docs>
421     </Member>
422     <Member MemberName="Count">
423       <MemberSignature Language="C#" Value="public int Count { get; }" />
424       <MemberSignature Language="ILAsm" Value=".property instance int32 Count" />
425       <MemberType>Property</MemberType>
426       <AssemblyInfo>
427         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
428         <AssemblyVersion>2.0.0.0</AssemblyVersion>
429         <AssemblyVersion>4.0.0.0</AssemblyVersion>
430       </AssemblyInfo>
431       <ReturnValue>
432         <ReturnType>System.Int32</ReturnType>
433       </ReturnValue>
434       <Docs>
435         <value>To be added: an object of type 'int'</value>
436         <remarks>
437           <attribution license="cc4" from="Microsoft" modified="false" />
438           <block subset="none" type="note">
439             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
440           </block>
441         </remarks>
442         <summary>
443           <attribution license="cc4" from="Microsoft" modified="false" />
444           <para>Gets the number of namespaces defined in this collection.</para>
445         </summary>
446       </Docs>
447     </Member>
448     <Member MemberName="GetEnumerator">
449       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchemaCollectionEnumerator GetEnumerator ();" />
450       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.Schema.XmlSchemaCollectionEnumerator GetEnumerator() cil managed" />
451       <MemberType>Method</MemberType>
452       <AssemblyInfo>
453         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
454         <AssemblyVersion>2.0.0.0</AssemblyVersion>
455         <AssemblyVersion>4.0.0.0</AssemblyVersion>
456       </AssemblyInfo>
457       <ReturnValue>
458         <ReturnType>System.Xml.Schema.XmlSchemaCollectionEnumerator</ReturnType>
459       </ReturnValue>
460       <Parameters />
461       <Docs>
462         <returns>To be added: an object of type 'XmlSchemaCollectionEnumerator'</returns>
463         <remarks>
464           <attribution license="cc4" from="Microsoft" modified="false" />
465           <block subset="none" type="note">
466             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
467           </block>
468         </remarks>
469         <summary>
470           <attribution license="cc4" from="Microsoft" modified="false" />
471           <para>Provides support for the "for each" style iteration over the collection of schemas.</para>
472         </summary>
473       </Docs>
474     </Member>
475     <Member MemberName="Item">
476       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchema this[string ns] { get; }" />
477       <MemberSignature Language="ILAsm" Value=".property instance class System.Xml.Schema.XmlSchema Item(string)" />
478       <MemberType>Property</MemberType>
479       <AssemblyInfo>
480         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
481         <AssemblyVersion>2.0.0.0</AssemblyVersion>
482         <AssemblyVersion>4.0.0.0</AssemblyVersion>
483       </AssemblyInfo>
484       <ReturnValue>
485         <ReturnType>System.Xml.Schema.XmlSchema</ReturnType>
486       </ReturnValue>
487       <Parameters>
488         <Parameter Name="ns" Type="System.String" />
489       </Parameters>
490       <Docs>
491         <param name="ns">To be added.</param>
492         <summary>To be added.</summary>
493         <value>To be added.</value>
494         <remarks>To be added.</remarks>
495       </Docs>
496     </Member>
497     <Member MemberName="NameTable">
498       <MemberSignature Language="C#" Value="public System.Xml.XmlNameTable NameTable { get; }" />
499       <MemberSignature Language="ILAsm" Value=".property instance class System.Xml.XmlNameTable NameTable" />
500       <MemberType>Property</MemberType>
501       <AssemblyInfo>
502         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
503         <AssemblyVersion>2.0.0.0</AssemblyVersion>
504         <AssemblyVersion>4.0.0.0</AssemblyVersion>
505       </AssemblyInfo>
506       <ReturnValue>
507         <ReturnType>System.Xml.XmlNameTable</ReturnType>
508       </ReturnValue>
509       <Docs>
510         <value>To be added: an object of type 'System.Xml.XmlNameTable'</value>
511         <remarks>
512           <attribution license="cc4" from="Microsoft" modified="false" />
513           <block subset="none" type="note">
514             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
515           </block>
516         </remarks>
517         <summary>
518           <attribution license="cc4" from="Microsoft" modified="false" />
519           <para>Gets the default XmlNameTable used by the XmlSchemaCollection when loading new schemas.</para>
520         </summary>
521       </Docs>
522     </Member>
523     <Member MemberName="System.Collections.ICollection.CopyTo">
524       <MemberSignature Language="C#" Value="void ICollection.CopyTo (Array array, int index);" />
525       <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.ICollection.CopyTo(class System.Array array, int32 index) cil managed" />
526       <MemberType>Method</MemberType>
527       <AssemblyInfo>
528         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
529         <AssemblyVersion>2.0.0.0</AssemblyVersion>
530         <AssemblyVersion>4.0.0.0</AssemblyVersion>
531       </AssemblyInfo>
532       <ReturnValue>
533         <ReturnType>System.Void</ReturnType>
534       </ReturnValue>
535       <Parameters>
536         <Parameter Name="array" Type="System.Array" />
537         <Parameter Name="index" Type="System.Int32" />
538       </Parameters>
539       <Docs>
540         <remarks>
541           <attribution license="cc4" from="Microsoft" modified="false" />
542           <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> instance is cast to an <see cref="T:System.Collections.ICollection" /> interface.</para>
543         </remarks>
544         <summary>
545           <attribution license="cc4" from="Microsoft" modified="false" />
546           <para>For a description of this member, see <see cref="M:System.Xml.Schema.XmlSchemaCollection.CopyTo(System.Xml.Schema.XmlSchema[],System.Int32)" />.</para>
547         </summary>
548         <param name="array">
549           <attribution license="cc4" from="Microsoft" modified="false" />The array to copy the objects to. </param>
550         <param name="index">
551           <attribution license="cc4" from="Microsoft" modified="false" />The index in <paramref name="array" /> where copying will begin. </param>
552       </Docs>
553     </Member>
554     <Member MemberName="System.Collections.ICollection.Count">
555       <MemberSignature Language="C#" Value="int System.Collections.ICollection.Count { get; }" />
556       <MemberSignature Language="ILAsm" Value=".property instance int32 System.Collections.ICollection.Count" />
557       <MemberType>Property</MemberType>
558       <AssemblyInfo>
559         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
560         <AssemblyVersion>2.0.0.0</AssemblyVersion>
561         <AssemblyVersion>4.0.0.0</AssemblyVersion>
562       </AssemblyInfo>
563       <ReturnValue>
564         <ReturnType>System.Int32</ReturnType>
565       </ReturnValue>
566       <Docs>
567         <value>To be added.</value>
568         <remarks>
569           <attribution license="cc4" from="Microsoft" modified="false" />
570           <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> instance is cast to an <see cref="T:System.Collections.ICollection" /> interface.</para>
571         </remarks>
572         <summary>
573           <attribution license="cc4" from="Microsoft" modified="false" />
574           <para>For a description of this member, see <see cref="P:System.Xml.Schema.XmlSchemaCollection.Count" />.</para>
575         </summary>
576       </Docs>
577     </Member>
578     <Member MemberName="System.Collections.ICollection.IsSynchronized">
579       <MemberSignature Language="C#" Value="bool System.Collections.ICollection.IsSynchronized { get; }" />
580       <MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.ICollection.IsSynchronized" />
581       <MemberType>Property</MemberType>
582       <AssemblyInfo>
583         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
584         <AssemblyVersion>2.0.0.0</AssemblyVersion>
585         <AssemblyVersion>4.0.0.0</AssemblyVersion>
586       </AssemblyInfo>
587       <ReturnValue>
588         <ReturnType>System.Boolean</ReturnType>
589       </ReturnValue>
590       <Docs>
591         <value>To be added.</value>
592         <remarks>
593           <attribution license="cc4" from="Microsoft" modified="false" />
594           <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> instance is cast to an <see cref="T:System.Collections.ICollection" /> interface.</para>
595         </remarks>
596         <summary>
597           <attribution license="cc4" from="Microsoft" modified="false" />
598           <para>For a description of this member, see <see cref="P:System.Xml.Schema.XmlSchemaCollection.System.Collections.ICollection.IsSynchronized" />.</para>
599         </summary>
600       </Docs>
601     </Member>
602     <Member MemberName="System.Collections.ICollection.SyncRoot">
603       <MemberSignature Language="C#" Value="object System.Collections.ICollection.SyncRoot { get; }" />
604       <MemberSignature Language="ILAsm" Value=".property instance object System.Collections.ICollection.SyncRoot" />
605       <MemberType>Property</MemberType>
606       <AssemblyInfo>
607         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
608         <AssemblyVersion>2.0.0.0</AssemblyVersion>
609         <AssemblyVersion>4.0.0.0</AssemblyVersion>
610       </AssemblyInfo>
611       <ReturnValue>
612         <ReturnType>System.Object</ReturnType>
613       </ReturnValue>
614       <Docs>
615         <value>To be added.</value>
616         <remarks>
617           <attribution license="cc4" from="Microsoft" modified="false" />
618           <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> instance is cast to an <see cref="T:System.Collections.ICollection" /> interface.</para>
619         </remarks>
620         <summary>
621           <attribution license="cc4" from="Microsoft" modified="false" />
622           <para>For a description of this member, see <see cref="P:System.Xml.Schema.XmlSchemaCollection.System.Collections.ICollection.SyncRoot" />.</para>
623         </summary>
624       </Docs>
625     </Member>
626     <Member MemberName="System.Collections.IEnumerable.GetEnumerator">
627       <MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
628       <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
629       <MemberType>Method</MemberType>
630       <AssemblyInfo>
631         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
632         <AssemblyVersion>2.0.0.0</AssemblyVersion>
633         <AssemblyVersion>4.0.0.0</AssemblyVersion>
634       </AssemblyInfo>
635       <ReturnValue>
636         <ReturnType>System.Collections.IEnumerator</ReturnType>
637       </ReturnValue>
638       <Parameters />
639       <Docs>
640         <returns>To be added.</returns>
641         <remarks>
642           <attribution license="cc4" from="Microsoft" modified="false" />
643           <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> instance is cast to an <see cref="T:System.Collections.IEnumerable" /> interface.</para>
644         </remarks>
645         <summary>
646           <attribution license="cc4" from="Microsoft" modified="false" />
647           <para>For a description of this member, see <see cref="M:System.Xml.Schema.XmlSchemaCollection.GetEnumerator" />.</para>
648         </summary>
649       </Docs>
650     </Member>
651     <Member MemberName="ValidationEventHandler">
652       <MemberSignature Language="C#" Value="public event System.Xml.Schema.ValidationEventHandler ValidationEventHandler;" />
653       <MemberSignature Language="ILAsm" Value=".event class System.Xml.Schema.ValidationEventHandler ValidationEventHandler" />
654       <MemberType>Event</MemberType>
655       <AssemblyInfo>
656         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
657         <AssemblyVersion>2.0.0.0</AssemblyVersion>
658         <AssemblyVersion>4.0.0.0</AssemblyVersion>
659       </AssemblyInfo>
660       <ReturnValue>
661         <ReturnType>System.Xml.Schema.ValidationEventHandler</ReturnType>
662       </ReturnValue>
663       <Parameters />
664       <Docs>
665         <remarks>
666           <attribution license="cc4" from="Microsoft" modified="false" />
667           <para>These events occur when the schemas are added to the collection. If an event handler is not provided, an <see cref="T:System.Xml.Schema.XmlSchemaException" /> is thrown on any validation errors where the <see cref="P:System.Xml.Schema.ValidationEventArgs.Severity" /> is XmlSeverityType.Error. To specify an event handler, define a callback function and add it to the ValidationEventHandler.</para>
668           <block subset="none" type="note">
669             <para>The <see cref="T:System.Xml.Schema.XmlSchemaCollection" /> class is obsolete in the .NET Framework version 2.0 and has been replaced by the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class.</para>
670           </block>
671         </remarks>
672         <summary>
673           <attribution license="cc4" from="Microsoft" modified="false" />
674           <para>Sets an event handler for receiving information about the XDR and XML schema validation errors.</para>
675         </summary>
676       </Docs>
677     </Member>
678   </Members>
679 </Type>