_CustomXMLParts.SelectByID(String) Method

Definition

Selects a custom XML part matching a GUID.

public:
 Microsoft::Office::Core::CustomXMLPart ^ SelectByID(System::String ^ Id);
public Microsoft.Office.Core.CustomXMLPart SelectByID (string Id);
abstract member SelectByID : string -> Microsoft.Office.Core.CustomXMLPart
Public Function SelectByID (Id As String) As CustomXMLPart

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