TreeNodeStyleCollection.Insert(Int32, TreeNodeStyle) Metoda

Definicja

Wstawia określony TreeNodeStyle obiekt do TreeNodeStyleCollection obiektu w określonej lokalizacji indeksu.

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)

Parametry

index
Int32

Lokalizacja indeksu zerowego, w której ma być wstawiony element TreeNodeStyle.

style
TreeNodeStyle

Obiekt TreeNodeStyle do wstawienia.

Uwagi

Insert Użyj metody , aby wstawić określony TreeNodeStyle obiekt do TreeNodeStyleCollection obiektu w określonym indeksie zerowym.

Alternatywnie można dołączyć TreeNodeStyle obiekt na końcu TreeNodeStyleCollection obiektu przy użyciu Add metody .

Dotyczy

Zobacz też