System.Web.UI.WebControls.RoleGroupCollection.Insert Method

Adds a System.Web.UI.WebControls.RoleGroup to the collection at the specified index.

Syntax

public void Insert (int index, RoleGroup group)

Parameters

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

Remarks

The RoleGroupCollection.Insert(int, RoleGroup) method inserts the specified System.Web.UI.WebControls.RoleGroup at the specified location. Role groups that follow the insertion point move down in the collection to accommodate the new element.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0