Location.CompareTo 메서드

Compares this Location object with the specified Location object and returns an integer that indicates their relative positions to one another.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Parser
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

public int CompareTo(
	Location other
)

매개 변수

other
유형: Microsoft.SqlServer.Management.SqlParser.Parser.Location
The Location object to compare against.

반환 값

유형: System.Int32
An integer that indicates the relative order of the objects being compared. 0 indicates that both objects have the same location. A negative number indicates that this instance precedes the specified Location object and a positive number indicates that this instance follows the specified Location object.

구현

IComparable<T>.CompareTo(T)

커뮤니티 추가 항목

추가
표시: