| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Xml;
- using System.Xml.Serialization;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaAnnotation.
- /// </summary>
- public class XmlSchemaAnnotation : XmlSchemaObject
- {
- private string id;
- private XmlSchemaObjectCollection items;
- private XmlAttribute[] unhandledAttributes;
- public XmlSchemaAnnotation()
- {
- items = new XmlSchemaObjectCollection();
- }
- [System.Xml.Serialization.XmlAttribute("id")]
- public string Id
- {
- get{ return id; }
- set{ id = value; }
- }
-
- [XmlElement("appinfo",typeof(XmlSchemaAppInfo),Namespace="http://www.w3.org/2001/XMLSchema")]
- [XmlElement("documentation",typeof(XmlSchemaDocumentation),Namespace="http://www.w3.org/2001/XMLSchema")]
- public XmlSchemaObjectCollection Items
- {
- get{ return items; }
- }
-
- [XmlAnyAttribute]
- public XmlAttribute[] UnhandledAttributes
- {
- get{ return unhandledAttributes; }
- set{ unhandledAttributes = value; }
- }
- }
- }
|