_CustomXMLParts.SelectByID Method
Selects a custom XML part matching a GUID.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function SelectByID ( _
Id As String _
) As CustomXMLPart
'Usage
Dim instance As _CustomXMLParts
Dim Id As String
Dim returnValue As CustomXMLPart
returnValue = instance.SelectByID(Id)
CustomXMLPart SelectByID(
string Id
)
Parameters
Id
Type: System.StringRequired String. Contains the GUID for the custom XML part.
Return Value
Type: Microsoft.Office.Core.CustomXMLPart
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.