RoleGroupCollection.Remove(RoleGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.