TreeNode(string,int32,int32)构造函数详解

用指定的标签文本及树节点处于选定和未选定状态时所显示的图像来初始化TreeNode类

public Sub New( 
              text AS String,
              inageIndex As Integer,
              selectedImageIndex As Integer
              )
     

text
类型:System.String
新的树节点的标签 Text.
imageIndex
类型:System.Int32
在取消选定树节点时显示的Image的索引值。
selectedImageIndex
类型:System.Int32
在选择树节点时显示的Image的索引值

你可能感兴趣的:(C#)