ValidationErrorCollection.Item Property

Gets the ValidationError at the specified index.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As ValidationError
    Get
    Set
'Usage
Dim instance As ValidationErrorCollection
Dim index As Integer
Dim value As ValidationError

value = instance(index)

instance(index) = value
public ValidationError this[
    int index
] { get; set; }
public:
property ValidationError^ default[int index] {
    ValidationError^ get (int index);
    void set (int index, ValidationError^ value);
}
member Item : ValidationError with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.ValidationError
The ValidationError at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.