다음을 통해 공유


CompareTo 메서드

Compares the Property object to another object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function CompareTo ( _
    obj As Object _
) As Integer
‘사용 방법
Dim instance As [Property]
Dim obj As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(obj)
public int CompareTo(
    Object obj
)
public:
int CompareTo(
    Object^ obj
)
member CompareTo : 
        obj:Object -> int 
public function CompareTo(
    obj : Object
) : int

매개 변수

반환 값

형식: System. . :: . .Int32
An Int32 value that describes the result of the comparison.

예제

속성 설정