Jaa


ValidationErrorCollection.IndexOf(ValidationError) Method

Definition

Searches for the specified ValidationError and returns its zero-based index within the collection.

public int IndexOf (Microsoft.AnalysisServices.ValidationError item);
member this.IndexOf : Microsoft.AnalysisServices.ValidationError -> int
Public Function IndexOf (item As ValidationError) As Integer

Parameters

item
ValidationError

The ValidationError to locate.

Returns

The zero-based index of the ValidationError in the collection, if found; otherwise, -1.

Applies to