1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaAnnotation.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Schema {
10 using System.Collections;
11 using System.Xml.Serialization;
13 /// <include file='doc\XmlSchemaAnnotation.uex' path='docs/doc[@for="XmlSchemaAnnotation"]/*' />
15 /// <para>[To be supplied.]</para>
17 public class XmlSchemaAnnotation : XmlSchemaObject {
19 XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
20 XmlAttribute[] moreAttributes;
22 /// <include file='doc\XmlSchemaAnnotation.uex' path='docs/doc[@for="XmlSchemaAnnotation.Id"]/*' />
24 /// <para>[To be supplied.]</para>
26 [XmlAttribute("id", DataType = "ID")]
32 /// <include file='doc\XmlSchemaAnnotation.uex' path='docs/doc[@for="XmlSchemaAnnotation.Items"]/*' />
34 /// <para>[To be supplied.]</para>
36 [XmlElement("documentation", typeof(XmlSchemaDocumentation)),
37 XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
38 public XmlSchemaObjectCollection Items {
42 /// <include file='doc\XmlSchemaAnnotation.uex' path='docs/doc[@for="XmlSchemaAnnotation.UnhandledAttributes"]/*' />
44 /// <para>[To be supplied.]</para>
47 public XmlAttribute[] UnhandledAttributes {
48 get { return moreAttributes; }
49 set { moreAttributes = value; }
53 internal override string IdAttribute {
58 internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes) {
59 this.moreAttributes = moreAttributes;