XPathNamespaceScope Enumeração

Definição

Define o escopo de namespace.Defines the namespace scope.

public enum class XPathNamespaceScope
public enum XPathNamespaceScope
type XPathNamespaceScope = 
Public Enum XPathNamespaceScope
Herança
XPathNamespaceScope

Campos

All 0

Retorna todos os namespaces definidos no escopo do nó atual.Returns all namespaces defined in the scope of the current node. Isso inclui o namespace xmlns:xml que sempre é declarado implicitamente.This includes the xmlns:xml namespace which is always declared implicitly. A ordem dos namespaces retornados não está definida.The order of the namespaces returned is not defined.

ExcludeXml 1

Retorna todos os namespaces definidos no escopo do nó atual, excluindo o namespace xmlns:xml.Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. O namespace xmlns:xml é sempre declarado implicitamente.The xmlns:xml namespace is always declared implicitly. A ordem dos namespaces retornados não está definida.The order of the namespaces returned is not defined.

Local 2

Retorna todos os namespaces definidos localmente no nó atual.Returns all namespaces that are defined locally at the current node.

Comentários

A XPathNamespaceScope enumeração pode ser passada para os MoveToFirstNamespace MoveToNextNamespace métodos e da XPathNavigator classe para especificar o tipo de nó de namespace para o qual mover.The XPathNamespaceScope enumeration can be passed to the MoveToFirstNamespace and MoveToNextNamespace methods of the XPathNavigator class to specify the type of namespace node to move to.

Aplica-se a