Error.CompareTo Method
Compares the location of this instance to the location of the specified Error object and returns an integer that indicates their relative position to each other.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Function CompareTo ( _
error As Error _
) As Integer
'Usage
Dim instance As Error
Dim error As Error
Dim returnValue As Integer
returnValue = instance.CompareTo(error)
public int CompareTo(
Error error
)
public:
virtual int CompareTo(
Error^ error
) sealed
abstract CompareTo :
error:Error -> int
override CompareTo :
error:Error -> int
public final function CompareTo(
error : Error
) : int
Parameters
- error
Type: Microsoft.SqlServer.Management.SqlParser.Parser.Error
The Error object to compare against.
Return Value
Type: System.Int32
A Int32 value that indicates the relative positions between the compared Error objects.