Click or drag to resize

OpenXmlElementLookupNamespace Method

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

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public string? LookupNamespace(
	string prefix
)

Parameters

prefix  String
The prefix to resolve.

Return Value

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