SelectedImage

This property returns and sets the image associated with a selected TreeView node.

Syntax

object.SelectedImage[= value]

Parameters

object
Object expression that evaluates to a Node.
value
Number that specifies an image in an ImageList control.

Remarks

Set the ImageList property of the TreeView to the hImageList property of an ImageList control. The Image property specifies which image to use from the ImageList.