Click or drag to resize

OpenXmlElementLookupPrefix Method

Finds the corresponding prefix for a namespace uri in the current element scope.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public string LookupPrefix(
	string namespaceUri
)

Parameters

namespaceUri  String
The namespace uri.

Return Value

String
The corresponding prefix. Returns null (Nothing in Visual Basic) if no prefix is found.
See Also