Share via


CommandCollection.IList.Contains Method

Indicates whether the collection contains a specific value.

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

Syntax

'Declaration
Private Function Contains ( _
    value As Object _
) As Boolean Implements IList.Contains
'Usage
Dim instance As CommandCollection 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = CType(instance, IList).Contains(value)
bool IList.Contains(
    Object value
)
private:
virtual bool Contains(
    Object^ value
) sealed = IList::Contains
private abstract Contains : 
        value:Object -> bool  
private override Contains : 
        value:Object -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: System.Boolean
true if the object is found in the collection; otherwise, false.

Implements

IList.Contains(Object)

See Also

Reference

CommandCollection Class

Microsoft.AnalysisServices Namespace