_CustomXMLParts Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of _CustomXMLPart objects.
public interface class _CustomXMLParts : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000CDB09-0000-0000-C000-000000000046")]
public interface _CustomXMLParts : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("000CDB09-0000-0000-C000-000000000046")>]
type _CustomXMLParts = interface
interface _IMsoDispObj
interface IEnumerable
Public Interface _CustomXMLParts
Implements _IMsoDispObj, IEnumerable
- Derived
- Attributes
- Implements
Remarks
Note: References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file.
There are three default parts that are always created with a document. These are 'Cover pages', 'Doc properties' and 'App properties'. The last two were in previous versions of Microsoft Word but are now provided in XML form in the _CustomXMLParts object collection
Properties
Application |
Gets an Application object that represents the container application for the _CustomXMLParts object. Read-only. |
Count |
Gets the number of items in the _CustomXMLParts collection. Read-only. |
Creator |
Gets a 32-bit integer that indicates the application in which the _CustomXMLParts object was created. Read-only. |
Item[Object] |
Gets a _CustomXMLPart object from the _CustomXMLParts collection. Read-only. |
Parent |
Gets the parent object for the _CustomXMLParts object. Read-only. |
Methods
Add(String, Object) |
Allows you to add a new _CustomXMLPart to a file. |
GetEnumerator() | |
SelectByID(String) |
Selects a custom XML part matching a GUID. |
SelectByNamespace(String) |
Selects the collection of custom XML parts whose namespace matches the search criteria. |