ModelComponentCollection.Contains Method (String)
Determines whether an item with the specified key is in the ModelComponentCollection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Protected Function Contains ( _
key As String _
) As Boolean
'Usage
Dim key As String
Dim returnValue As Boolean
returnValue = Me.Contains(key)
protected bool Contains(
string key
)
protected:
bool Contains(
String^ key
)
member Contains :
key:string -> bool
protected function Contains(
key : String
) : boolean
Parameters
- key
Type: System.String
The key of the IModelComponent to locate in the ModelComponentCollection.
Return Value
Type: System.Boolean
true if key found in the ModelComponentCollection; otherwise, false.
See Also