ModelComponentCollection.Contains Method

Definition

Overloads

Contains(IModelComponent)

Determines whether the specified item is in the collection.

Contains(String)

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

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

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

Returns

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

Applies to

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

The key of the IModelComponent to locate in the ModelComponentCollection.

Returns

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

Applies to