Del via


ReportSize.Addition Operator

Add two sizes.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Shared Operator + ( _
    size1 As ReportSize, _
    size2 As ReportSize _
) As ReportSize
'Usage
Dim size1 As ReportSize
Dim size2 As ReportSize
Dim returnValue As ReportSize

returnValue = (size1 + size2)
public static ReportSize operator +(
    ReportSize size1,
    ReportSize size2
)
public:
static ReportSize operator +(
    ReportSize size1, 
    ReportSize size2
)
static let inline (+)
        size1:ReportSize * 
        size2:ReportSize  : ReportSize
JScript supports the use of overloaded operators, but not the declaration of new ones.