RoleGroupCollection.Insert(Int32, RoleGroup) 方法
定义
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)
参数
- index
- Int32
从零开始的索引,在该处插入角色组。The zero-based index at which to insert the role group.
- group
- RoleGroup
要插入的角色组。The role group to insert.
注解
Insert方法在指定位置插入指定的 RoleGroup 。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.