Share via


BlockLineRange.CompareTo Method

Compares a code block with the current code block.

Namespace:  Microsoft.VisualStudio.Coverage.Analysis
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    other As BlockLineRange _
) As Integer
public int CompareTo(
    BlockLineRange other
)
public:
virtual int CompareTo(
    BlockLineRange other
) sealed
abstract CompareTo : 
        other:BlockLineRange -> int  
override CompareTo : 
        other:BlockLineRange -> int
public final function CompareTo(
    other : BlockLineRange
) : int

Parameters

Return Value

Type: Int32
A number that indicates the result of the comparison. A return of zero indicates that the provided code block is equal to the current code block. A number less than zero indicates that the provided code block is less than the current code block. A number greater than zero indicates the provided code block is greater than the current code block.

Implements

IComparable.CompareTo(UTP)

.NET Framework Security

See Also

Reference

BlockLineRange Structure

Microsoft.VisualStudio.Coverage.Analysis Namespace