1 // Author: Dwivedi, Ajay kumar
\r
4 using System.Collections;
\r
6 using System.Xml.Serialization;
\r
8 namespace System.Xml.Schema
\r
11 /// Summary description for XmlSchemaAnnotated.
\r
14 public class XmlSchemaAnnotated : XmlSchemaObject
\r
16 private XmlSchemaAnnotation annotation;
\r
18 private XmlAttribute[] unhandledAttributes;
\r
20 public XmlSchemaAnnotated()
\r
23 [System.Xml.Serialization.XmlAttribute("id")]
\r
30 [XmlElement("annotation",Namespace=XmlSchema.Namespace)]
\r
31 public XmlSchemaAnnotation Annotation
\r
33 get{ return annotation; }
\r
34 set{ annotation = value; }
\r
38 public XmlAttribute[] UnhandledAttributes
\r
42 if(unhandledAttributeList != null)
\r
44 unhandledAttributes = (XmlAttribute[]) unhandledAttributeList.ToArray(typeof(XmlAttribute));
\r
45 unhandledAttributeList = null;
\r
47 return unhandledAttributes;
\r
51 unhandledAttributes = value;
\r
52 unhandledAttributeList = null;
\r