CompareTo メソッド
2 つの場所オブジェクトを比較し、行番号の差を返します。
名前空間: Microsoft.SqlServer.Management.Dac
アセンブリ: Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)
構文
'宣言
Public Function CompareTo ( _
other As Location _
) As Integer
'使用
Dim instance As Location
Dim other As Location
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
public int CompareTo(
Location other
)
public:
virtual int CompareTo(
Location other
) sealed
abstract CompareTo :
other:Location -> int
override CompareTo :
other:Location -> int
public final function CompareTo(
other : Location
) : int
パラメーター
- other
型: Microsoft.SqlServer.Management.Dac. . :: . .Location
現在の Location と比較する Location オブジェクトを指定します。
戻り値
型: System. . :: . .Int32
指定した Location と現在の Location の行番号の間の差を指定する Int32 値です。両方の場所の行番号が等しい場合は、代わりに列番号の差が返されます。