XamlXmlReader.Read Method

Definition

Provides the next XAML node from the loaded source, if a XAML node is available.

public:
 override bool Read();
public override bool Read ();
override this.Read : unit -> bool
Public Overrides Function Read () As Boolean

Returns

true if a node is available; otherwise, false.

Remarks

A node where Read returns false also returns true for IsEof.

Calling Read generally has the side effect of advancing the LineNumber or LinePosition.

The next operation after calling Read and getting a true result is typically to check NodeType. For more information about XAML node stream concepts, see Understanding XAML Node Stream Structures and Concepts.

Applies to

See also