Partager via


Opérateur Subtraction

Subtract the second size from the first size.

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.