Share via


GroupCollection.Contains Method

Indicates whether the collection contains a specified Group.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As Group _
) As Boolean
'Usage
Dim instance As GroupCollection 
Dim item As Group 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    Group item
)
public:
bool Contains(
    Group^ item
)
member Contains : 
        item:Group -> bool
public function Contains(
    item : Group
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the Group is contained in the collection; otherwise, false.

See Also

Reference

GroupCollection Class

Microsoft.AnalysisServices Namespace