IXmlNamespaceResolver 介面

定義

提供一組前置詞和命名空間對應的唯讀存取。Provides read-only access to a set of prefix and namespace mappings.

public interface class IXmlNamespaceResolver
public interface IXmlNamespaceResolver
type IXmlNamespaceResolver = interface
Public Interface IXmlNamespaceResolver
衍生

方法

GetNamespacesInScope(XmlNamespaceScope)

取得定義之前置詞/命名空間對應的集合,目前位於範圍中。Gets a collection of defined prefix-namespace mappings that are currently in scope.

LookupNamespace(String)

取得命名空間 URI,對應至指定的前置詞。Gets the namespace URI mapped to the specified prefix.

LookupPrefix(String)

取得前置詞,對應至指定的命名空間 URI。Gets the prefix that is mapped to the specified namespace URI.

適用於