Sdílet prostřednictvím


DkmInstructionAddress.CompareTo(DkmInstructionAddress) Method

Definition

Compares two instruction addresses and returns a value indicating whether one is less than, equal to, or greater than the other. The addresses must be from the same module.

public:
 int CompareTo(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ Other);
public:
 int CompareTo(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ Other);
int CompareTo(Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & Other);
public int CompareTo (Microsoft.VisualStudio.Debugger.DkmInstructionAddress Other);
member this.CompareTo : Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> int
Public Function CompareTo (Other As DkmInstructionAddress) As Integer

Parameters

Other
DkmInstructionAddress

[In] An address to compare with this address.

Returns

[Out] A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:

Less than zero: This instance is less than 'other'. Zero: This instance is equal to 'other'. Greater than zero: This instance is greater than 'other'.

Applies to