System.Xml.XmlNodeReaderImpl.XmlNodeReaderImpl.Read C# (CSharp) Méthode

Read() public méthode

public Read ( ) : bool
Résultat bool
		public override bool Read ()
		{
			// FIXME: at some stage inlining might work effectively.
			// if (EOF)
			switch (state) {
			case ReadState.EndOfFile:
			case ReadState.Error:
			case ReadState.Closed:
				return false;
			}

#if NET_2_0
			if (Binary != null)
				Binary.Reset ();
#endif

			bool ret = ReadContent ();
			ownerLinkedNode = current;
			return ret;
		}