Share via


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

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

ICollection<T>.Remove(T)

See Also

ListGroupingCollection<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top