ModelComponentCollection.IModelComponentCollection.Contains Método
Indicates whether the collection contains a specific value.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Private Function Contains ( _
item As IModelComponent _
) As Boolean Implements IModelComponentCollection.Contains
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- item
Tipo: Microsoft.AnalysisServices.IModelComponent
The item to locate.
Valor devuelto
Tipo: System.Boolean
true if the item is found in the collection; otherwise, false.
Implementa
IModelComponentCollection.Contains(IModelComponent)