このインスタンスを、指定された RequestId と比較します。
名前空間: Microsoft.VisualStudio.TestTools.Execution
アセンブリ: Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 内)
構文
'宣言
Public Function CompareTo ( _
other As RequestId _
) As Integer
public int CompareTo(
RequestId other
)
public:
virtual int CompareTo(
RequestId^ other
) sealed
abstract CompareTo :
other:RequestId -> int
override CompareTo :
other:RequestId -> int
public final function CompareTo(
other : RequestId
) : int
パラメーター
- other
型: Microsoft.VisualStudio.TestTools.Execution.RequestId
比較用の RequestId。
戻り値
型: System.Int32
比較対象の RequestId の相対順序を示す 32 ビット符号付き整数。戻り値の意味は次のとおりです。
0 未満の値
このインスタンスは other よりも小さくなっています。0
このインスタンスは other と等価です。0 を超える値
このインスタンスは other よりも大きくなっています。
実装
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。