mscorlib(4.0.0.0) API with additions
XmlSchemaSequence.cs
2 
3 namespace System.Xml.Schema
4 {
7  {
9 
12  [XmlElement("element", typeof(XmlSchemaElement))]
13  [XmlElement("group", typeof(XmlSchemaGroupRef))]
14  [XmlElement("choice", typeof(XmlSchemaChoice))]
15  [XmlElement("sequence", typeof(XmlSchemaSequence))]
16  [XmlElement("any", typeof(XmlSchemaAny))]
17  public override XmlSchemaObjectCollection Items
18  {
19  get
20  {
21  return items;
22  }
23  }
24 
25  internal override bool IsEmpty
26  {
27  get
28  {
29  if (!base.IsEmpty)
30  {
31  return items.Count == 0;
32  }
33  return true;
34  }
35  }
36 
37  internal override void SetItems(XmlSchemaObjectCollection newItems)
38  {
39  items = newItems;
40  }
41  }
42 }
Represents the sequence element (compositor) from the XML Schema as specified by the World Wide Web C...
A collection of T:System.Xml.Schema.XmlSchemaObjects.
Definition: __Canon.cs:3
An abstract class for T:System.Xml.Schema.XmlSchemaAll, T:System.Xml.Schema.XmlSchemaChoice,...
Represents the World Wide Web Consortium (W3C) any element.
Definition: XmlSchemaAny.cs:8
Represents the group element with ref attribute from the XML Schema as specified by the World Wide We...
Represents an element.
Definition: XmlElement.cs:7
Represents the choice element (compositor) from the XML Schema as specified by the World Wide Web Con...
int Count
Gets the number of elements contained in the T:System.Collections.CollectionBase instance....
Represents the element element from XML Schema as specified by the World Wide Web Consortium (W3C)....
override XmlSchemaObjectCollection Items
The elements contained within the compositor. Collection of T:System.Xml.Schema.XmlSchemaElement,...