_CustomXMLParts.SelectByID(String) Method

Definition

Selects a custom XML part matching a GUID.

C++
public:
 Microsoft::Office::Core::CustomXMLPart ^ SelectByID(System::String ^ Id);

Parameters

Id
String

Required String. Contains the GUID for the custom XML part.

Returns

CustomXMLPart

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.

Applies to

Product Versions
Office primary interop assembly Latest