Propriété Item
Gets the ValidationError at the specified index.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Default Property Item ( _
index As Integer _
) As ValidationError
Get
Set
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
The zero-based index of the ValidationError to return.
Valeur de propriété
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. |