Freigeben über


OpenXmlElement.LookupNamespace Method

Resolve the namespace prefix in the context of current node

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function LookupNamespace ( _
    prefix As String _
) As String
'Usage
Dim instance As OpenXmlElement
Dim prefix As String
Dim returnValue As String

returnValue = instance.LookupNamespace(prefix)
public string LookupNamespace(
    string prefix
)

Parameters

Return Value

Type: System.String
The resolved namespace. Null if the prefix cannot be resolved

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace