XMLSchemaReferences 接口

定义

对象的集合 XMLSchemaReference ,这些对象代表附加到文档的唯一命名空间。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
属性
实现

注解

使用 XMLSchemaReferences 属性可返回附加到文档的架构的集合。Use the XMLSchemaReferences property to return a collection of schemas attached to a document.

属性

AllowSaveAsXMLWithoutValidation

此对象、成员或枚举已被弃用并且不适合在您的代码中使用。This object, member, or enumeration is deprecated and is not intended to be used in your code.

Application

返回一个 Application 代表 Microsoft Word 应用程序的对象。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

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。Returns a 32-bit integer that indicates the application in which the specified object was created.

HideValidationErrors

如果为 True,则在 Microsoft Word 验证文档中的 XML 时隐藏架构冲突。True to hide schema violations when Microsoft Word validates the XML in a document.

IgnoreMixedContent

返回一个Boolean类型的值,该值表示 Microsoft Word 是否对具有元素同级的文本节点执行验证,并指定当该 XMLSaveDataOnly 属性为True时,是否将这些文本节点保存为 XML。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

返回一个Boolean类型的值,该值表示是否为文档中的 XML 元素显示自动占位符文本。Returns a Boolean that represents whether automatic placeholder text is displayed for XML elements in a document. 如果显示占位符文本, 则返回 trueTrue displays placeholder text. False ,则隐藏占位符文本。False hides placeholder text.

方法

Add(Object, Object, Object, Boolean)

返回一个 XMLSchemaReference 表示应用于文档的架构的。Returns a XMLSchemaReference that represents a schema applied to a document.

GetEnumerator()
Validate()

对附加的 XML 架构或架构验证单个 XML 元素或整个文档。Verifies an individual XML element or the entire document against the attached XML schema or schemas.

适用于