Condividi tramite


Proprietà Item

Gets the ValidationError at the specified index.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Default Property Item ( _
    index As Integer _
) As ValidationError
    Get
    Set
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.