语言

RoleGroupCollection.Insert(Int32, RoleGroup) 方法

定义

将 a 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

要在其中插入角色组的从零开始的索引。

group
RoleGroup

要插入的角色组。

注解

该方法 Insert 在指定位置插入指定的 RoleGroup 位置。 插入点后面的角色组在集合中向下移动以适应新元素。

适用于

另请参阅