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

The prefix to be resolved

Returns

String

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

Applies to