ValidationErrorCollection.Add Method (ValidationError)
Adds a ValidationError to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As ValidationError _
) As Integer
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.ValidationError
The ValidationError to add.
Return Value
Type: System.Int32
The zero-based index at which the ValidationError has been added.