Dela via


CubeCollection.Contains Method (Cube)

Indicates whether the collection contains a specified Cube.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Cube _
) As Boolean
'Usage
Dim instance As CubeCollection
Dim item As Cube
Dim returnValue As Boolean

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

Parameters

Return Value

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