ExpressionNode.ReadWithCheck(XmlReader, XmlNodeType, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Lit le nœud xml suivant et vérifie qu’il a un type et un nom attendus (s’il est fourni)
protected static void ReadWithCheck(System.Xml.XmlReader xr, System.Xml.XmlNodeType nodeType, string name);
static member ReadWithCheck : System.Xml.XmlReader * System.Xml.XmlNodeType * string -> unit
Protected Shared Sub ReadWithCheck (xr As XmlReader, nodeType As XmlNodeType, name As String)
Paramètres
- xr
- XmlReader
- nodeType
- XmlNodeType
type de nœud attendu
- name
- String
nom de nœud attendu (peut être null)
Exceptions
Le type de nœud d’ID levée et/ou le nom ne correspondent pas au type fourni, au nom