Compartir a través de


Subtraction Operador

Subtract the second size from the first size.

Espacio de nombres:  Microsoft.ReportingServices.RdlObjectModel
Ensamblado:  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxis

'Declaración
Public Shared Operator - ( _
    size1 As ReportSize, _
    size2 As ReportSize _
) As ReportSize
'Uso
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.