Condividi tramite


Metodo Contains

Indicates whether the collection contains a specified DataItem.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    item As DataItem _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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