Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​Schema.​XmlSchemaRedefine

Assembly: System.Xml.ReaderWriter

Inheritance: object → XmlSchemaObjectXmlSchemaExternal → XmlSchemaRedefine

Represents the <see langword="redefine" /> element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to allow simple and complex types, groups and attribute groups from external schema files to be redefined in the current schema. This class can also be used to provide versioning for the schema elements.

Properties

AttributeGroups
Gets the <see cref="T:System.Xml.Schema.XmlSchemaObjectTable" /> , for all attributes in the schema, which holds the post-compilation value of the <see langword="AttributeGroups" /> property.
Groups
Gets the <see cref="T:System.Xml.Schema.XmlSchemaObjectTable" /> , for all groups in the schema, which holds the post-compilation value of the <see langword="Groups" /> property.
Gets the collection of the following classes: <see cref="T:System.Xml.Schema.XmlSchemaAnnotation" /> , <see cref="T:System.Xml.Schema.XmlSchemaAttributeGroup" /> , <see cref="T:System.Xml.Schema.XmlSchemaComplexType" /> , <see cref="T:System.Xml.Schema.XmlSchemaSimpleType" /> , and <see cref="T:System.Xml.Schema.XmlSchemaGroup" /> .
SchemaTypes
Gets the <see cref="T:System.Xml.Schema.XmlSchemaObjectTable" /> , for all simple and complex types in the schema, which holds the post-compilation value of the <see langword="SchemaTypes" /> property.
public string
Id
Gets or sets the string id.
public XmlSchema
Schema
Gets or sets the <see langword="XmlSchema" /> for the referenced schema.
public string
SchemaLocation
Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema processor where the schema physically resides.
public XmlAttribute[]
UnhandledAttributes
Gets or sets the qualified attributes, which do not belong to the schema target namespace.
public int
LineNumber
Gets or sets the line number in the file to which the <see langword="schema" /> element refers.
public int
LinePosition
Gets or sets the line position in the file to which the <see langword="schema" /> element refers.
Gets or sets the <see cref="T:System.Xml.Serialization.XmlSerializerNamespaces" /> to use with this schema object.
Parent
Gets or sets the parent of this <see cref="T:System.Xml.Schema.XmlSchemaObject" /> .
public string
SourceUri
Gets or sets the source location for the file that loaded the schema.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object