Share via


BlockLineRange.CompareTo Method (BlockLineRange)

 

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

public int CompareTo(
    BlockLineRange other
)
public:
virtual int CompareTo(
    BlockLineRange other
) sealed
abstract CompareTo : 
        other:BlockLineRange -> int
override CompareTo : 
        other:BlockLineRange -> int
Public Function CompareTo (
    other As BlockLineRange
) As Integer

Parameters

Return Value

Type: System.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<T>.CompareTo(T)

See Also

BlockLineRange Structure
Microsoft.VisualStudio.Coverage.Analysis Namespace

Return to top