RoleGroupCollection.Insert(Int32, RoleGroup) Method

Definition

Adds a RoleGroup to the collection at the specified index.

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

Parameters

index
Int32

The zero-based index at which to insert the role group.

group
RoleGroup

The role group to insert.

Remarks

The Insert method inserts the specified RoleGroup at the specified location. Role groups that follow the insertion point move down in the collection to accommodate the new element.

Applies to

See also