IComparable.CompareTo 메서드
Compares the objects within the FacetInfo.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)
구문
‘선언
Private Function CompareTo ( _
other As Object _
) As Integer Implements IComparable.CompareTo
‘사용 방법
Dim instance As FacetInfo
Dim other As Object
Dim returnValue As Integer
returnValue = CType(instance, IComparable).CompareTo(other)
int IComparable.CompareTo(
Object other
)
private:
virtual int CompareTo(
Object^ other
) sealed = IComparable::CompareTo
private abstract CompareTo :
other:Object -> int
private override CompareTo :
other:Object -> int
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- other
유형: System. . :: . .Object
The objects that need to be compared.
반환 값
유형: System. . :: . .Int32
The objects to compare.