Partager via


ListGroupingCollection<TBusinessObject>.Contains Method (ListGrouping<TBusinessObject>)

 

Determines whether the specified ListGrouping<TBusinessObject> object is in the ListGroupingCollection<TBusinessObject>.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public bool Contains(
    ListGrouping<TBusinessObject> item
)
public:
virtual bool Contains(
    ListGrouping<TBusinessObject>^ item
) sealed
Public Function Contains (
    item As ListGrouping(Of TBusinessObject)
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the ListGrouping<TBusinessObject> object was located in the ListGroupingCollection<TBusinessObject>; otherwise, false.

Implements

ICollection<T>.Contains(T)

See Also

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

Return to top