IModelComponentCollection.Contains Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the collection contains a specified IModelComponent.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Function Contains ( _
obj As IModelComponent _
) As Boolean
'Usage
Dim instance As IModelComponentCollection
Dim obj As IModelComponent
Dim returnValue As Boolean
returnValue = instance.Contains(obj)
bool Contains(
IModelComponent obj
)
bool Contains(
IModelComponent^ obj
)
abstract Contains :
obj:IModelComponent -> bool
function Contains(
obj : IModelComponent
) : boolean
Parameters
- obj
Type: Microsoft.AnalysisServices.IModelComponent
The IModelComponent to be located.
Return Value
Type: System.Boolean
true if the IModelComponent is contained in the collection; otherwise, false.