Redigera

Dela via


RoleGroupCollection.Remove(RoleGroup) Method

Definition

Deletes the first occurrence of the specified role group from the collection.

public:
 void Remove(System::Web::UI::WebControls::RoleGroup ^ group);
public void Remove (System.Web.UI.WebControls.RoleGroup group);
member this.Remove : System.Web.UI.WebControls.RoleGroup -> unit
Public Sub Remove (group As RoleGroup)

Parameters

group
RoleGroup

The RoleGroup to remove from the collection.

Remarks

The first instance of the specified RoleGroup object is removed from the RoleGroupCollection collection. Groups that follow the removed group all move up in the index to fill the vacated spot. If there is more than one instance of the specified RoleGroup object, only the first instance is removed.

Applies to

See also