 | OpenXmlElementLookupNamespace Method |
Resolves the namespace prefix in the context of the current node.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntaxpublic string LookupNamespace(
string prefix
)
Public Function LookupNamespace (
prefix As String
) As String
public:
String^ LookupNamespace(
String^ prefix
)
member LookupNamespace :
prefix : string -> string Parameters
- prefix String
- The prefix to resolve.
Return Value
StringThe resolved namespace. Returns null (Nothing in Visual Basic) if the prefix cannot be resolved.
See Also