次の方法で共有


ReportSize.Subtraction 演算子

1 つ目のサイズから 2 つ目のサイズを減算します。

名前空間:  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 はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
ReportSize オブジェクト。

関連項目

参照

ReportSize 構造体

Microsoft.ReportingServices.RdlObjectModel 名前空間