ValidationErrorCollection.Item-Eigenschaft
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- index
Typ: System.Int32
The zero-based index of the ValidationError to return.
Eigenschaftswert
Typ: Microsoft.AnalysisServices.ValidationError
The ValidationError at the specified index.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |