Compartilhar via


Método Contains

Indicates whether the collection contains a specified DataItem.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    item As DataItem _
) As Boolean
'Uso
Dim instance As DataItemCollection
Dim item As DataItem
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    DataItem item
)
public:
bool Contains(
    DataItem^ item
)
member Contains : 
        item:DataItem -> bool 
public function Contains(
    item : DataItem
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the DataItem is contained in the collection; otherwise, false.