Udostępnij za pośrednictwem


XmlInclude Collection Editor Dialog Box

Allows you to add or remove <include> elements to the current XML Schema. The <include> element specifies the location of a schema document in the target namespace. The XmlInclude Collection Editor appears when you are using the Properties window and click the ellipsis button next to the include property of an XML Schema.

  • Members
    Lists all <include> elements in the current collection. An unlimited number of <include> elements may be added to the collection.

  • Properties
    Lists the individual properties of the <include> element selected in the Members area.

    • id (optional) - the identifier of this <include> element. This must be a unique ID for this document. The id must be of type id.

    • schemaLocation (optional) - the URI (Uniform Resource Identifier) reference to the location of a schema document for the included namespace. The schemaLocation must be of type anyURI.

  • Add
    Adds a new <include> element to the collection.

  • Remove
    Deletes the selected <include> element from the collection.

See Also

Other Resources

XML Schemas (XSD) Reference

XML Tools in Visual Studio

XML Documents and Data