Baml2006Reader::Read Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Baml2006
Assembly:  PresentationFramework (in PresentationFramework.dll)

virtual bool Read() override

Return Value

Type: System::Boolean

true if a node is available; otherwise, false.

Exception Condition

Reader was disposed during traversal.

This method returns false for cases where the reader reports IsEof.

.NET Framework
Available since 4.0
Return to top