編輯

共用方式為


XMLSchemaReferences Interface

Definition

A collection of XMLSchemaReference objects that represent the unique namespaces that are attached to a document.

public interface class XMLSchemaReferences : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("356B06EC-4908-42A4-81FC-4B5A51F3483B")]
public interface XMLSchemaReferences : System.Collections.IEnumerable
type XMLSchemaReferences = interface
    interface IEnumerable
Public Interface XMLSchemaReferences
Implements IEnumerable
Attributes
Implements

Remarks

Use the XMLSchemaReferences property to return a collection of schemas attached to a document.

Properties

AllowSaveAsXMLWithoutValidation

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Application

Returns a Application object that represents the Microsoft Word application.

AutomaticValidation

This object, member, or enumeration is deprecated and is not intended to be used in your code.

Count

Returns the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

HideValidationErrors

True to hide schema violations when Microsoft Word validates the XML in a document.

IgnoreMixedContent

Returns a Boolean that represents whether Microsoft Word performs validation on text nodes that have element siblings and specifies whether these text nodes are saved in XML when the XMLSaveDataOnly property is True.

Item[Object]

Returns an individual object in a collection.

Parent

Returns an object that represents the parent object of the specified object.

ShowPlaceholderText

Returns a Boolean that represents whether automatic placeholder text is displayed for XML elements in a document. True displays placeholder text. False hides placeholder text.

Methods

Add(Object, Object, Object, Boolean)

Returns a XMLSchemaReference that represents a schema applied to a document.

GetEnumerator()
Validate()

Verifies an individual XML element or the entire document against the attached XML schema or schemas.

Applies to