Partager via


Opérateur ReportSize.Addition

Add two sizes.

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Shared Operator + ( _
    size1 As ReportSize, _
    size2 As ReportSize _
) As ReportSize
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

Type : Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.

Voir aussi

Référence

ReportSize Structure

Espace de noms Microsoft.ReportingServices.RdlObjectModel