Partager via


Méthode Add (ValidationError)

Adds a ValidationError to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As ValidationError _
) As Integer
'Utilisation
Dim instance As ValidationErrorCollection
Dim item As ValidationError
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    ValidationError item
)
public:
int Add(
    ValidationError^ item
)
member Add : 
        item:ValidationError -> int 
public function Add(
    item : ValidationError
) : int

Valeur de retour

Type : System. . :: . .Int32
The zero-based index at which the ValidationError has been added.