Share via


ModelComponentCollection.Contains Method (IModelComponent)

 

Applies To: SQL Server (starting with 2016)

Determines whether the specified item is in the collection.

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

Syntax

protected bool Contains(
    IModelComponent item
)
protected:
bool Contains(
    IModelComponent^ item
)
member Contains : 
        item:IModelComponent -> bool
Protected Function Contains (
    item As IModelComponent
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

See Also

Contains Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top