_CustomXMLParts.SelectByNamespace Method

Selects the collection of custom XML parts whose namespace matches the search criteria.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function SelectByNamespace ( _
    NamespaceURI As String _
) As CustomXMLParts
'Usage
Dim instance As _CustomXMLParts
Dim NamespaceURI As String
Dim returnValue As CustomXMLParts

returnValue = instance.SelectByNamespace(NamespaceURI)
CustomXMLParts SelectByNamespace(
    string NamespaceURI
)

Parameters

  • NamespaceURI
    Type: System.String

    Required String. Contains a namespace URI.

Return Value

Type: Microsoft.Office.Core.CustomXMLParts
CustomXMLParts

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.

See Also

Reference

_CustomXMLParts Interface

_CustomXMLParts Members

Microsoft.Office.Core Namespace