OpenXmlElement.LookupNamespace Method

Resolve the namespace prefix in the context of current node

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


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

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


Return Value

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

See Also


OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace