TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Метод

Определение

Вставляет указанный объект TreeNodeStyle в объект TreeNodeStyleCollection по указанному индексу.

public:
 void Insert(int index, System::Web::UI::WebControls::TreeNodeStyle ^ style);
public void Insert (int index, System.Web.UI.WebControls.TreeNodeStyle style);
member this.Insert : int * System.Web.UI.WebControls.TreeNodeStyle -> unit
Public Sub Insert (index As Integer, style As TreeNodeStyle)

Параметры

index
Int32

Отсчитываемый от нуля индекс, по которому должен быть вставлен объект TreeNodeStyle.

style
TreeNodeStyle

Вставляемый объект TreeNodeStyle.

Комментарии

Используйте метод , Insert чтобы вставить указанный TreeNodeStyle объект в TreeNodeStyleCollection объект по указанному индексу отсчитываемого от нуля.

В качестве альтернативы можно добавить TreeNodeStyle объект в конец TreeNodeStyleCollection с помощью Add метода .

Применяется к

См. также раздел