TreeNodeStyleCollection::Item Property (Int32)

 

Gets or sets the TreeNodeStyle object at the specified index in the TreeNodeStyleCollection object.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
property TreeNodeStyle^ default[
	int i
] {
	TreeNodeStyle^ get(int i);
	void set(int i, TreeNodeStyle^ value);
}

Parameters

i
Type: System::Int32

The zero-based index of the TreeNodeStyle to retrieve.

Property Value

Type: System.Web.UI.WebControls::TreeNodeStyle^

The TreeNodeStyle at the specified index in the TreeNodeStyleCollection.

Use the Item index property to access a TreeNodeStyle object from the TreeNodeStyleCollection object at the specified index by using array notation. The collection is zero-based.

.NET Framework
Available since 2.0
Return to top
Show: