ValidationErrorCollection.Contains Method
Indicates whether the collection contains a specified ValidationError.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As ValidationError _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.ValidationError
Return Value
Type: System.Boolean
true if the ValidationError exists in the collection; otherwise, false.