編輯

共用方式為


CustomXMLPart Interface

Definition

public interface class CustomXMLPart : Microsoft::Office::Core::_CustomXMLPart, Microsoft::Office::Core::_CustomXMLPartEvents_Event
[System.Runtime.InteropServices.Guid("000CDB05-0000-0000-C000-000000000046")]
public interface CustomXMLPart : Microsoft.Office.Core._CustomXMLPart, Microsoft.Office.Core._CustomXMLPartEvents_Event
[<System.Runtime.InteropServices.Guid("000CDB05-0000-0000-C000-000000000046")>]
type CustomXMLPart = interface
    interface _CustomXMLPart
    interface _CustomXMLPartEvents_Event
Public Interface CustomXMLPart
Implements _CustomXMLPart, _CustomXMLPartEvents_Event
Derived
Attributes
Implements

Properties

Application (Inherited from _IMsoDispObj)
BuiltIn

Gets a value that indicates whether the _CustomXMLPart is built-in. Read-only

(Inherited from _CustomXMLPart)
Creator (Inherited from _IMsoDispObj)
DocumentElement

Gets the root element of a bound region of data in a document. If the region is empty, the property returns Nothing. Read-only.

(Inherited from _CustomXMLPart)
Errors

Gets a CustomXMLValidationErrors object that provides access to any XML validation errors, if any exists. If no validation errors exist, this property returns Nothing. Read-only.

(Inherited from _CustomXMLPart)
Id

Gets a String containing the GUID assigned to the current _CustomXMLPart object. Read-only.

(Inherited from _CustomXMLPart)
NamespaceManager

Gets the set of namespace prefix mappings used against the current _CustomXMLPart object. Read-only.

(Inherited from _CustomXMLPart)
NamespaceURI

Gets the unique address identifier for the namespace of the _CustomXMLPart object. Read-only.

(Inherited from _CustomXMLPart)
Parent

Gets the parent object for the _CustomXMLPart object. Read-only.

(Inherited from _CustomXMLPart)
SchemaCollection

Gets or sets a CustomXMLSchemaCollection object representing the set of schemas attached to a bound region of data in a document. Read/write.

(Inherited from _CustomXMLPart)
XML

Gets the XML representation of the current _CustomXMLPart object. Read-only.

(Inherited from _CustomXMLPart)

Methods

add_NodeAfterDelete(_CustomXMLPartEvents_NodeAfterDeleteEventHandler) (Inherited from _CustomXMLPartEvents_Event)
add_NodeAfterInsert(_CustomXMLPartEvents_NodeAfterInsertEventHandler) (Inherited from _CustomXMLPartEvents_Event)
add_NodeAfterReplace(_CustomXMLPartEvents_NodeAfterReplaceEventHandler) (Inherited from _CustomXMLPartEvents_Event)
AddNode(CustomXMLNode, String, String, CustomXMLNode, MsoCustomXMLNodeType, String)

Adds a node to the XML tree.

(Inherited from _CustomXMLPart)
Delete()

Deletes the current _CustomXMLPart from the data store (IXMLDataStore interface).

(Inherited from _CustomXMLPart)
Load(String)

Allows the template author to populate a _CustomXMLPart from an existing file. Returns True if the load was successful.

(Inherited from _CustomXMLPart)
LoadXML(String)

Allows the template author to populate a _CustomXMLPart object from an XML string. Returns True if the load was successful.

(Inherited from _CustomXMLPart)
remove_NodeAfterDelete(_CustomXMLPartEvents_NodeAfterDeleteEventHandler) (Inherited from _CustomXMLPartEvents_Event)
remove_NodeAfterInsert(_CustomXMLPartEvents_NodeAfterInsertEventHandler) (Inherited from _CustomXMLPartEvents_Event)
remove_NodeAfterReplace(_CustomXMLPartEvents_NodeAfterReplaceEventHandler) (Inherited from _CustomXMLPartEvents_Event)
SelectNodes(String)

Selects a collection of nodes from a custom XML part.

(Inherited from _CustomXMLPart)
SelectSingleNode(String)

Selects a single node within a custom XML part matching an XPath expression.

(Inherited from _CustomXMLPart)

Events

NodeAfterDelete

Occurs after a node is deleted in a _CustomXMLPart object.

(Inherited from _CustomXMLPartEvents_Event)
NodeAfterInsert

Occurs after a node is inserted in a _CustomXMLPart object.

(Inherited from _CustomXMLPartEvents_Event)
NodeAfterReplace

Occurs just after a node is replaced in a _CustomXMLPart object.

(Inherited from _CustomXMLPartEvents_Event)

Applies to