Share via


ModelItemOperationsCollection.Add Method

Adds a ModelItemOperation to the ModelItemOperationsCollection.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Public Function Add ( _
    operation As ModelItemOperation _
) As Integer
'Usage
Dim instance As ModelItemOperationsCollection 
Dim operation As ModelItemOperation 
Dim returnValue As Integer 

returnValue = instance.Add(operation)
public int Add(
    ModelItemOperation operation
)
public:
int Add(
    ModelItemOperation operation
)
member Add : 
        operation:ModelItemOperation -> int
public function Add(
    operation : ModelItemOperation
) : int

Parameters

Return Value

Type: System.Int32
The position into which the new ModelItemOperation was inserted.

See Also

Reference

ModelItemOperationsCollection Class

Microsoft.ReportingServices.Interfaces Namespace