OpenXmlElement.LookupNamespace(String) OpenXmlElement.LookupNamespace(String) OpenXmlElement.LookupNamespace(String) Method

Definition

Resolves the namespace prefix in the context of the current node.

public string LookupNamespace (string prefix);
member this.LookupNamespace : string -> string
Public Function LookupNamespace (prefix As String) As String

Parameters

prefix
String String String

The prefix to be resolved

Returns

The resolved namespace. Returns null (Nothing in Visual Basic) if the prefix cannot be resolved.

Applies to