Compartilhar via


CustomXMLPart Object Members

Represents a single CustomXMLPart in a CustomXMLParts collection.

Methods

  Name Description
Aa433905.methods(en-us,office.12).gif AddNode Adds a node to the XML tree.
Aa433905.methods(en-us,office.12).gif Delete Deletes the current CustomXMLPart from the data store (IXMLDataStore interface).
Aa433905.methods(en-us,office.12).gif Load Allows the template author to populate a CustomXMLPart from an existing file. Returns True if the load was successful.
Aa433905.methods(en-us,office.12).gif LoadXML Allows the template author to populate a CustomXMLPart object from an XML string. Returns True if the load was successful.
Aa433905.methods(en-us,office.12).gif SelectNodes Selects a collection of nodes from a custom XML part.
Aa433905.methods(en-us,office.12).gif SelectSingleNode Selects a single node within a custom XML part matching an XPath expression.

Properties

  Name Description
Aa433905.properties(en-us,office.12).gif Application Gets an Application object that represents the container application for the CustomXMLPart object. Read-only.
Aa433905.properties(en-us,office.12).gif BuiltIn Gets a value that indicates whether the CustomXMLPart is built-in. Read-only
Aa433905.properties(en-us,office.12).gif Creator Gets a 32-bit integer that indicates the application in which the CustomXMLPart object was created. Read-only.
Aa433905.properties(en-us,office.12).gif 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.
Aa433905.properties(en-us,office.12).gif 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.
Aa433905.properties(en-us,office.12).gif Id Gets a String containing the GUID assigned to the current CustomXMLPart object. Read-only.
Aa433905.properties(en-us,office.12).gif NamespaceManager Gets the set of namespace prefix mappings used against the current CustomXMLPart object. Read-only.
Aa433905.properties(en-us,office.12).gif NamespaceURI Gets the unique address identifier for the namespace of the CustomXMLPart object. Read-only.
Aa433905.properties(en-us,office.12).gif Parent Gets the Parent object for the CustomXMLPart object. Read-only.
Aa433905.properties(en-us,office.12).gif SchemaCollection Gets or sets a CustomXMLSchemaCollection object representing the set of schemas attached to a bound region of data in a document. Read/write.
Aa433905.properties(en-us,office.12).gif XML Gets the XML representation of the current CustomXMLPart object. Read-only.

Events

  Name Description
Aa433905.events(en-us,office.12).gif NodeAfterDelete Occurs after a node is deleted in a CustomXMLPart object.
Aa433905.events(en-us,office.12).gif NodeAfterInsert Occurs after a node is inserted in a CustomXMLPart object.
Aa433905.events(en-us,office.12).gif NodeAfterReplace Occurs just after a node is replaced in a CustomXMLPart object.