Metodo ModelComponentCollection.IModelComponentCollection.Contains
Indicates whether the collection contains a specific value.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Private Function Contains ( _
item As IModelComponent _
) As Boolean Implements IModelComponentCollection.Contains
'Utilizzo
Dim instance As ModelComponentCollection
Dim item As IModelComponent
Dim returnValue As Boolean
returnValue = CType(instance, IModelComponentCollection).Contains(item)
bool IModelComponentCollection.Contains(
IModelComponent item
)
private:
virtual bool Contains(
IModelComponent^ item
) sealed = IModelComponentCollection::Contains
private abstract Contains :
item:IModelComponent -> bool
private override Contains :
item:IModelComponent -> bool
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- item
Tipo: Microsoft.AnalysisServices.IModelComponent
The item to locate.
Valore restituito
Tipo: System.Boolean
true if the item is found in the collection; otherwise, false.
Implementa
IModelComponentCollection.Contains(IModelComponent)