Оператор 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 поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- size1
Тип: Microsoft.ReportingServices.RdlObjectModel.ReportSize
The first ReportSize.
- size2
Тип: Microsoft.ReportingServices.RdlObjectModel.ReportSize
The second ReportSize.
Возвращаемое значение
Тип: Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.
См. также
Справочник
Пространство имен Microsoft.ReportingServices.RdlObjectModel