Partilhar via


Método Add (ValidationError)

Adds a ValidationError to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As ValidationError _
) As Integer
'Uso
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

Valor de retorno

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