LevelCollection.Contains LevelCollection.Contains LevelCollection.Contains Method

Definition

Indicates whether the collection contains a Level.

Overloads

Contains(Level) Contains(Level) Contains(Level)

Indicates whether the collection contains a specified Level.

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

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

Contains(Level) Contains(Level) Contains(Level)

Indicates whether the collection contains a specified Level.

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

The Level to be located.

Returns

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

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

Indicates whether the collection contains a Level, 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 Level to be located.

Returns

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

Applies to