System.Xml.XmlReader.XmlReader.ReadToNextSibling C# (CSharp) Méthode

ReadToNextSibling() public méthode

public ReadToNextSibling ( string name ) : bool
name string
Résultat bool
		public virtual bool ReadToNextSibling (string name)
		{
			if (ReadState != ReadState.Interactive)
				return false;
			int depth = Depth;
			Skip ();
			for (; !EOF && depth <= Depth; Skip ())
				if (NodeType == XmlNodeType.Element && name == Name)
					return true;
			return false;
		}

Same methods

XmlReader.XmlReader::ReadToNextSibling ( string localName, string namespaceURI ) : bool