ListGroupingCollection<TBusinessObject>.Remove Method (ListGrouping<TBusinessObject>)
Removes the first occurrence of the specified ListGrouping<TBusinessObject> from the ListGroupingCollection<TBusinessObject>.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public bool Remove(
ListGrouping<TBusinessObject> item
)
public:
virtual bool Remove(
ListGrouping<TBusinessObject>^ item
) sealed
Public Function Remove (
item As ListGrouping(Of TBusinessObject)
) As Boolean
Parameters
item
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListGrouping<TBusinessObject>The ListGrouping<TBusinessObject> object to be removed from the ListGroupingCollection<TBusinessObject>.
Return Value
Type: System.Boolean
true if the ListGrouping<TBusinessObject> object was successfully removed, otherwise, false. This method also returns false if the ListGrouping<TBusinessObject> object was not found in the ListGroupingCollection<TBusinessObject>.
Implements
See Also
ListGroupingCollection<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top