_CustomXMLPart Members

Include Protected Members
Include Inherited Members

Represents a single _CustomXMLPart in a _CustomXMLParts collection.

The _CustomXMLPart type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method AddNode Adds a node to the XML tree.
Public method Delete Deletes the current _CustomXMLPart from the data store (IXMLDataStore interface).
Public method Load Allows the template author to populate a _CustomXMLPart from an existing file. Returns True if the load was successful.
Public method LoadXML Allows the template author to populate a _CustomXMLPart object from an XML string. Returns True if the load was successful.
Public method SelectNodes Selects a collection of nodes from a custom XML part.
Public method SelectSingleNode Selects a single node within a custom XML part matching an XPath expression.

Top

See Also

Reference

_CustomXMLPart Interface

Microsoft.Office.Core Namespace