TreeNode.Name Proprietà

Definizione

Ottiene o imposta il nome del nodo della struttura ad albero.

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

Valore della proprietà

Oggetto String che rappresenta il nome del nodo della struttura ad albero.

Commenti

L'oggetto Name di un TreeNode è anche la chiave del nodo, quando il nodo fa parte di un TreeNodeCollectionoggetto . Se il nodo non ha un nome, Name restituisce una stringa vuota ("").

Si applica a