メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。 TreeView コントロールにおけるツリー ノードの深さを取得します。最初の深さは 0 です。
名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
Public ReadOnly Property Level As Integer
Dim instance As TreeNode
Dim value As Integer
value = instance.Level
public int Level { get; }
public:
property int Level {
int get ();
}
/** @property */
public int get_Level ()
public function get Level () : int
プロパティ値
TreeView コントロールにおけるツリー ノードの深さ。最初の深さは 0 です。
Level プロパティの場合、ルート ノードは入れ子の最初のレベルと見なされ、0 が返されます。
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
.NET Framework
サポート対象 : 2.0