ReportSize.Subtraction 运算符

Subtract the second size from the first size.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Shared Operator - ( _
    size1 As ReportSize, _
    size2 As ReportSize _
) As ReportSize
用法
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 支持使用重载的运算符,但不支持声明新重载运算符。