Partilhar via


Operador ReportSize.Addition

Add two sizes.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxe

'Declaração
Public Shared Operator + ( _
    size1 As ReportSize, _
    size2 As ReportSize _
) As ReportSize
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

Tipo: Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.

Consulte também

Referência

ReportSize Estrutura

Namespace Microsoft.ReportingServices.RdlObjectModel