Partager via


Méthode Contains

Indicates whether the collection contains a specified ValidationError.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    item As ValidationError _
) As Boolean
'Utilisation
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

Valeur de retour

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