mscorlib(4.0.0.0) API with additions
XmlSchemaAnnotation.cs
2 
3 namespace System.Xml.Schema
4 {
7  {
8  private string id;
9 
11 
12  private XmlAttribute[] moreAttributes;
13 
16  [XmlAttribute("id", DataType = "ID")]
17  public string Id
18  {
19  get
20  {
21  return id;
22  }
23  set
24  {
25  id = value;
26  }
27  }
28 
31  [XmlElement("documentation", typeof(XmlSchemaDocumentation))]
32  [XmlElement("appinfo", typeof(XmlSchemaAppInfo))]
34  {
35  get
36  {
37  return items;
38  }
39  }
40 
43  [XmlAnyAttribute]
45  {
46  get
47  {
48  return moreAttributes;
49  }
50  set
51  {
52  moreAttributes = value;
53  }
54  }
55 
56  [XmlIgnore]
57  internal override string IdAttribute
58  {
59  get
60  {
61  return Id;
62  }
63  set
64  {
65  Id = value;
66  }
67  }
68 
69  internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes)
70  {
71  this.moreAttributes = moreAttributes;
72  }
73  }
74 }
Represents the World Wide Web Consortium (W3C) appinfo element.
A collection of T:System.Xml.Schema.XmlSchemaObjects.
Represents the documentation element from XML Schema as specified by the World Wide Web Consortium (W...
Definition: __Canon.cs:3
Represents the root class for the Xml schema object model hierarchy and serves as a base class for cl...
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
Definition: XmlAttribute.cs:7
XmlSchemaObjectCollection Items
Gets the Items collection that is used to store the appinfo and documentation child elements.
Represents an element.
Definition: XmlElement.cs:7
XmlAttribute [] UnhandledAttributes
Gets or sets the qualified attributes that do not belong to the schema's target namespace.
string Id
Gets or sets the string id.
Represents the World Wide Web Consortium (W3C) annotation element.