共用方式為


Redefine Element Binding Support

The .NET Framework does not provide binding support for the <redefine> element.

When generating source code from an XML Schema document, Xsd.exe ignores the <redefine> element and its contents.

Explanation

The <redefine> element allows an XML Schema type or group defined in one .xsd file to be extended or restricted in another XSD document under the same name.

When generating source code from an XML Schema document, Xsd.exe ignores the <redefine> element and its contents. However, Xsd.exe does recognize the XML Schema's other two mechanisms for referencing outside XML Schema documents, the Import Element Binding Support and Include Element Binding Support elements.

Possible Attributes Binding Support

id

Since the .NET Framework does not bind the <redefine> element, it does not bind the element's attributes.

schemaLocation

Since the .NET Framework does not bind the <redefine> element, it does not bind the element's attributes.

See the schemaLocation attribute.

Possible parent elements: <schema>

Possible child elements: <annotation>, <attributeGroup>, <complexType>, <group>, <simpleType>

See Also

Reference

XmlSchemaRedefine