Share via


SourceLocation.GreaterThan Operator

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

Determines whether the first object is greater than the second 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 Boolean
'Usage
Dim left As SourceLocation 
Dim right As SourceLocation 
Dim returnValue As Boolean 

returnValue = (left > right)
public static bool operator >(
    SourceLocation left,
    SourceLocation right
)
public:
static bool operator >(
    SourceLocation left, 
    SourceLocation right
)
static let inline(>)
        left:SourceLocation * 
        right:SourceLocation  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the first object is greater than the second object; otherwise, false.

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace