XPathNavigator.MoveToFirstChild メソッド
アセンブリ: System.Xml (system.xml.dll 内)

Dim instance As XPathNavigator Dim returnValue As Boolean returnValue = instance.MoveToFirstChild
XPathNavigator が現在のノードの最初の子ノードに正常に移動された場合は true を返します。それ以外の場合は false を返します。false の場合、XPathNavigator の位置は変更されません。

子を持つことができる XPathNodeType 値は、Root と Element だけです。このプロパティは、他のすべての XPathNodeType ノード型に対し常に false を返します。

MoveToFirstChild メソッドの例については、Clone メソッドのトピックを参照してください。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- XPathNavigator.MoveToFirstChild メソッドのページへのリンク