Share via


SourceLocation.CompareTo Method

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

Compares current object to the other object.

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

Syntax

'Declaration
Public Function CompareTo ( _
    other As SourceLocation _
) As Integer
'Usage
Dim instance As SourceLocation 
Dim other As SourceLocation 
Dim returnValue As Integer 

returnValue = instance.CompareTo(other)
public int CompareTo(
    SourceLocation other
)
public:
virtual int CompareTo(
    SourceLocation other
) sealed
abstract CompareTo : 
        other:SourceLocation -> int  
override CompareTo : 
        other:SourceLocation -> int
public final function CompareTo(
    other : SourceLocation
) : int

Parameters

Return Value

Type: System.Int32
The value of the objects compared.

Implements

IComparable<T>.CompareTo(T)

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace