1 //------------------------------------------------------------------------------
2 // <copyright file="ConformanceLevel.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">helenak</owner>
6 //------------------------------------------------------------------------------
7 
8 namespace System.Xml {
9 
10     public enum ConformanceLevel {
11         // With conformance level Auto an XmlReader or XmlWriter automatically determines whether in incoming XML is an XML fragment or document.
12         Auto = 0,
13 
14         // Conformance level for XML fragment. An XML fragment can contain any node type that can be a child of an element,
15         // plus it can have a single XML declaration as its first node
16         Fragment = 1,
17 
18         // Conformance level for XML document as specified in XML 1.0 Specification
19         Document = 2,
20     }
21 }
22