Share via


SourceLocation.CompareTo(SourceLocation) Method

Definition

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public:
 virtual int CompareTo(Microsoft::AspNetCore::Razor::SourceLocation other);
public int CompareTo (Microsoft.AspNetCore.Razor.SourceLocation other);
abstract member CompareTo : Microsoft.AspNetCore.Razor.SourceLocation -> int
override this.CompareTo : Microsoft.AspNetCore.Razor.SourceLocation -> int
Public Function CompareTo (other As SourceLocation) As Integer

Parameters

Returns

Implements

Applies to