OpenXmlElement.LookupNamespace Method
Resolve the namespace prefix in the context of current node
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Function LookupNamespace ( _
prefix As String _
) As String
'使用
Dim instance As OpenXmlElement
Dim prefix As String
Dim returnValue As String
returnValue = instance.LookupNamespace(prefix)
public string LookupNamespace(
string prefix
)
Parameters
- prefix
Type: System.String
The prefix to be resolved
Return Value
Type: System.String
The resolved namespace. Null if the prefix cannot be resolved