mscorlib(4.0.0.0) API with additions
XmlSchemaRedefine.cs
2 
3 namespace System.Xml.Schema
4 {
7  {
9 
10  private XmlSchemaObjectTable attributeGroups = new XmlSchemaObjectTable();
11 
12  private XmlSchemaObjectTable types = new XmlSchemaObjectTable();
13 
14  private XmlSchemaObjectTable groups = new XmlSchemaObjectTable();
15 
18  [XmlElement("annotation", typeof(XmlSchemaAnnotation))]
19  [XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroup))]
20  [XmlElement("complexType", typeof(XmlSchemaComplexType))]
21  [XmlElement("group", typeof(XmlSchemaGroup))]
22  [XmlElement("simpleType", typeof(XmlSchemaSimpleType))]
24  {
25  get
26  {
27  return items;
28  }
29  }
30 
33  [XmlIgnore]
35  {
36  get
37  {
38  return attributeGroups;
39  }
40  }
41 
44  [XmlIgnore]
46  {
47  get
48  {
49  return types;
50  }
51  }
52 
55  [XmlIgnore]
57  {
58  get
59  {
60  return groups;
61  }
62  }
63 
66  {
67  base.Compositor = Compositor.Redefine;
68  }
69 
70  internal override void AddAnnotation(XmlSchemaAnnotation annotation)
71  {
72  items.Add(annotation);
73  }
74  }
75 }
XmlSchemaObjectTable AttributeGroups
Gets the T:System.Xml.Schema.XmlSchemaObjectTable , for all attributes in the schema,...
Represents the attributeGroup element from the XML Schema as specified by the World Wide Web Consorti...
A collection of T:System.Xml.Schema.XmlSchemaObjects.
Definition: __Canon.cs:3
XmlSchemaRedefine()
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaRedefine class.
Represents the group element from XML Schema as specified by the World Wide Web Consortium (W3C)....
int Add(XmlSchemaObject item)
Adds an T:System.Xml.Schema.XmlSchemaObject to the XmlSchemaObjectCollection.
XmlSchemaObjectCollection Items
Gets the collection of the following classes: T:System.Xml.Schema.XmlSchemaAnnotation,...
Represents the complexType element from XML Schema as specified by the World Wide Web Consortium (W3C...
XmlSchemaObjectTable SchemaTypes
Gets the T:System.Xml.Schema.XmlSchemaObjectTable, for all simple and complex types in the schema,...
Provides the collections for contained elements in the T:System.Xml.Schema.XmlSchema class (for examp...
Represents an element.
Definition: XmlElement.cs:7
XmlSchemaObjectTable Groups
Gets the T:System.Xml.Schema.XmlSchemaObjectTable, for all groups in the schema, which holds the post...
An abstract class. Provides information about the included schema.
Represents the World Wide Web Consortium (W3C) annotation element.
Represents the simpleType element for simple content from XML Schema as specified by the World Wide W...
Represents the redefine element from XML Schema as specified by the World Wide Web Consortium (W3C)....