mscorlib(4.0.0.0) API with additions
XmlSchemaAnnotated.cs
2 
3 namespace System.Xml.Schema
4 {
7  {
8  private string id;
9 
10  private XmlSchemaAnnotation annotation;
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("annotation", typeof(XmlSchemaAnnotation))]
33  {
34  get
35  {
36  return annotation;
37  }
38  set
39  {
40  annotation = value;
41  }
42  }
43 
46  [XmlAnyAttribute]
48  {
49  get
50  {
51  return moreAttributes;
52  }
53  set
54  {
55  moreAttributes = value;
56  }
57  }
58 
59  [XmlIgnore]
60  internal override string IdAttribute
61  {
62  get
63  {
64  return Id;
65  }
66  set
67  {
68  Id = value;
69  }
70  }
71 
72  internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes)
73  {
74  this.moreAttributes = moreAttributes;
75  }
76 
77  internal override void AddAnnotation(XmlSchemaAnnotation annotation)
78  {
79  this.annotation = annotation;
80  }
81  }
82 }
string Id
Gets or sets the string id.
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
The base class for any element that can contain annotation elements.
Represents an element.
Definition: XmlElement.cs:7
XmlSchemaAnnotation Annotation
Gets or sets the annotation property.
XmlAttribute [] UnhandledAttributes
Gets or sets the qualified attributes that do not belong to the current schema's target namespace.
Represents the World Wide Web Consortium (W3C) annotation element.