ModelComponentCollection.Contains ModelComponentCollection.Contains ModelComponentCollection.Contains Method

Definition

Overloads

Contains(IModelComponent) Contains(IModelComponent) Contains(IModelComponent)

Determines whether the specified item is in the collection.

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

Determines whether an item with the specified key is in the ModelComponentCollection.

Contains(IModelComponent) Contains(IModelComponent) Contains(IModelComponent)

Determines whether the specified item is in the collection.

protected bool Contains (Microsoft.AnalysisServices.IModelComponent item);
member this.Contains : Microsoft.AnalysisServices.IModelComponent -> bool
Protected Function Contains (item As IModelComponent) As Boolean

Parameters

item
IModelComponent IModelComponent IModelComponent

The item to verify if it's in the collection.

Returns

True if the specified item is found in the collection, false otherwise.

Implements

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

Determines whether an item with the specified key is in the ModelComponentCollection.

protected bool Contains (string key);
member this.Contains : string -> bool
Protected Function Contains (key As String) As Boolean

Parameters

key
String String String

The key of the IModelComponent to locate in the ModelComponentCollection.

Returns

true if key found in the ModelComponentCollection; otherwise, false.

Applies to