asp.net.ph

TreeNode Constructor ( String, String, String )

System.Web.UI.WebControls Namespace   TreeNode Class


.NET Framework version 2.0

Initializes a new instance of the TreeNode class with the specified node text, value, and image.

[ VB ]
Overloads Public Sub New ( _
   ByVal text As String, _
   ByVal value As String _,
   ByVal imageUrl As String _
)

[ C# ]
public TreeNode (
   string text,
   string value,
   string imageUrl
);

[ C++ ]
public: TreeNode (
   String* text,
   String* value,
   String* imageUrl
);

[ JScript ]
public function TreeNode (
   text : String,
   value : String,
   imageUrl : String
);

Parameters

text
The text to display for the TreeNode.
value
The value associated with the TreeNode.
imageUrl
The URL to an image associated with the TreeNode.

Remarks

Use this constructor to initialize a new instance of the TreeNode class using the specified node text, value, and image.

The following table shows initial property values for an instance of TreeNode.

Property Initial Value
Text The value of the text parameter.
Value The value of the value parameter.
ImageUrl The value of the imageUrl parameter.

See Also

TreeNode Members   TreeNode Constructor Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note