public class XmlSchemaRedefine : XmlSchemaExternal
|
The redefine element requires that the external elements exist in the same target namespace as the redefining schema. Schemas without a namespace can also be redefined using the redefine element, in which case the redefined components become part of the target namespace of the schema.
The definitions within the redefine element itself must use their current definitions as their base type definition. Attribute group definitions and model group definitions must include one and only one reference to themselves. Note that not all the definitions of the redefined schema document must be redefined.
Redefining elements may cause unexpected results, such as ill-formed definitions, on other type definitions that are based on the redefined definitions.
This provides a mechanism for versioning of schema types.
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. |
AttributeGroups | Read-only Gets the XmlSchemaObjectTable, for all attributes in the schema, which holds the post-compilation value of the AttributeGroups property. |
Groups | Read-only Gets the XmlSchemaObjectTable, for all groups in the schema, which holds the post-compilation value of the Groups property. |
Id (inherited from System.Xml.Schema.XmlSchemaExternal) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaExternal.Id Gets or sets the string id. |
Items | Read-only Gets the collection of the following classes: XmlSchemaAnnotation, XmlSchemaAttributeGroup, XmlSchemaComplexType, XmlSchemaSimpleType, and XmlSchemaGroup. |
LineNumber (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.LineNumber Gets or sets the line number in the file to which the schema element refers. |
LinePosition (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.LinePosition Gets or sets the line position in the file to which the schema element refers. |
Namespaces (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.Namespaces |
Schema (inherited from System.Xml.Schema.XmlSchemaExternal) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaExternal.Schema Gets or sets the XmlSchema for the referenced schema. |
SchemaLocation (inherited from System.Xml.Schema.XmlSchemaExternal) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaExternal.SchemaLocation Gets or sets the URI location for the schema, which tells the schema processor where the schema physically resides. |
SchemaTypes | Read-only Gets the XmlSchemaObjectTable, for all simple and complex types in the schema, which holds the post-compilation value of the SchemaTypes property. |
SourceUri (inherited from System.Xml.Schema.XmlSchemaObject) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaObject.SourceUri Gets or sets the source location for the file that loaded the schema. |
UnhandledAttributes (inherited from System.Xml.Schema.XmlSchemaExternal) |
Read-write See base class member description: System.Xml.Schema.XmlSchemaExternal.UnhandledAttributes Gets and sets the qualified attributes which do not belong to the schema target namespace. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public XmlSchemaRedefine(); |
public XmlSchemaObjectTable AttributeGroups {get;}
|
public XmlSchemaObjectTable Groups {get;}
|
public string Id {get; set;}
|
public XmlSchemaObjectCollection Items {get;}
|
public int LineNumber {get; set;}
|
public int LinePosition {get; set;}
|
public XmlSerializerNamespaces Namespaces {get; set;}
|
public XmlSchema Schema {get; set;}
|
public string SchemaLocation {get; set;}
|
Included schemas use this attribute as the URI reference to the location of a schema document that should be included in the target namespace of the containing schema.
public XmlSchemaObjectTable SchemaTypes {get;}
|
public string SourceUri {get; set;}
|
public XmlAttribute[] UnhandledAttributes {get; set;}
|
~XmlSchemaRedefine(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |