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 はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- size1
型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
1 つ目の ReportSize。
- size2
型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
2 つ目の ReportSize。
戻り値
型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
ReportSize オブジェクト。