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.

适用于