SourceLocation.Addition Operator
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Adds the two SourceLocation object.
Namespace: System.Web.Razor.Text
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Shared Operator + ( _
left As SourceLocation, _
right As SourceLocation _
) As SourceLocation
'Usage
Dim left As SourceLocation
Dim right As SourceLocation
Dim returnValue As SourceLocation
returnValue = (left + right)
public static SourceLocation operator +(
SourceLocation left,
SourceLocation right
)
public:
static SourceLocation operator +(
SourceLocation left,
SourceLocation right
)
static let inline(+)
left:SourceLocation *
right:SourceLocation : SourceLocation
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- left
Type: System.Web.Razor.Text.SourceLocation
The object to add.
- right
Type: System.Web.Razor.Text.SourceLocation
The object to add.
Return Value
Type: System.Web.Razor.Text.SourceLocation
The SourceLocation that is the sum of the two object.