Share via


SourceLocation.Subtract Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Subtracts the first object to the second object.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Shared Function Subtract ( _
    left As SourceLocation, _
    right As SourceLocation _
) As SourceLocation
'Usage
Dim left As SourceLocation 
Dim right As SourceLocation 
Dim returnValue As SourceLocation 

returnValue = SourceLocation.Subtract(left, _
    right)
public static SourceLocation Subtract(
    SourceLocation left,
    SourceLocation right
)
public:
static SourceLocation Subtract(
    SourceLocation left, 
    SourceLocation right
)
static member Subtract : 
        left:SourceLocation * 
        right:SourceLocation -> SourceLocation
public static function Subtract(
    left : SourceLocation, 
    right : SourceLocation
) : SourceLocation

Parameters

Return Value

Type: System.Web.Razor.Text.SourceLocation
The difference of the two objects.

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace