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
other
Type: Microsoft.VisualStudio.Coverage.Analysis.BlockLineRangeA BlockLineRange object to compare.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.