OpenXmlElement.LookupNamespace(String) 方法

定义

解析当前节点上下文中的命名空间前缀。

public string LookupNamespace (string prefix);
public string? LookupNamespace (string prefix);
member this.LookupNamespace : string -> string
Public Function LookupNamespace (prefix As String) As String

参数

prefix
String

要解析的前缀。

返回

解析的命名空间。 如果无法解析前缀,则返回 null (Visual Basic) Nothing。

适用于