Add two sizes.
命名空间: 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
The first ReportSize.
- size2
类型:Microsoft.ReportingServices.RdlObjectModel.ReportSize
The second ReportSize.
返回值
类型:Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.