TreeNode.Name 屬性

定義

取得或設定樹狀節點的名稱。

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

屬性值

String

String,表示樹狀節點名稱。

備註

Name TreeNode 節點是 的一 TreeNodeCollection 部分時,的 也是節點的索引鍵。 如果節點沒有名稱, Name 則會傳回空字串 (「」) 。

適用於