XamlXmlReader.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour