Edit

Share via


_CustomXMLPart Interface

Definition

Represents a single _CustomXMLPart in a _CustomXMLParts collection.

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

Properties

Application

Gets an Application object that represents the container application for the _CustomXMLPart object. Read-only.

BuiltIn

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

Creator

Gets a 32-bit integer that indicates the application in which the _CustomXMLPart object was created. Read-only.

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.

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.

Id

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

NamespaceManager

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

NamespaceURI

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

Parent

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

SchemaCollection

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

XML

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

Methods

AddNode(CustomXMLNode, String, String, CustomXMLNode, MsoCustomXMLNodeType, String)

Adds a node to the XML tree.

Delete()

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

Load(String)

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

LoadXML(String)

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

SelectNodes(String)

Selects a collection of nodes from a custom XML part.

SelectSingleNode(String)

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

Applies to