Compartilhar via


Método Contains

Indicates whether the collection contains a specified ValidationError.

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

Sintaxe

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

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

Valor de retorno

Tipo: System. . :: . .Boolean
true if the ValidationError exists in the collection; otherwise, false.