CubeCollection.Contains CubeCollection.Contains CubeCollection.Contains Method

Definition

Indicates whether the collection contains a Cube.

Overloads

Contains(Cube) Contains(Cube) Contains(Cube)

Indicates whether the collection contains a specified Cube.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a Cube, with the specified identifier.

Contains(Cube) Contains(Cube) Contains(Cube)

Indicates whether the collection contains a specified Cube.

public:
 bool Contains(Microsoft::AnalysisServices::Cube ^ item);
public bool Contains (Microsoft.AnalysisServices.Cube item);
Public Function Contains (item As Cube) As Boolean
Parameters
item
Cube Cube Cube

The Cube to be located.

Returns

true if the Cube is contained in the collection; otherwise, false.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a Cube, with the specified identifier.

public:
 bool Contains(System::String ^ id);
public bool Contains (string id);
Public Function Contains (id As String) As Boolean
Parameters
id
String String String

The identifier of the Cube to be located.

Returns

true if the Cube is contained in the collection; otherwise, false.

Applies to