Baml2006Reader::Read Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public:
virtual bool Read() override

Return Value

Type: System::Boolean

true if a node is available; otherwise, false.

Exception Condition
ObjectDisposedException

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
Show: