この API は、 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
演算式に含まれる Boolean 型パラメーターの比較情報を返します。
名前空間: System.Data.Services.Providers
アセンブリ: Microsoft.Data.Services (Microsoft.Data.Services.dll)
構文
'宣言
Public Shared Function Compare ( _
left As Boolean, _
right As Boolean _
) As Integer
'使用
Dim left As Boolean
Dim right As Boolean
Dim returnValue As Integer
returnValue = DataServiceProviderMethods.Compare(left, _
right)
public static int Compare(
bool left,
bool right
)
public:
static int Compare(
bool left,
bool right
)
static member Compare :
left:bool *
right:bool -> int
public static function Compare(
left : boolean,
right : boolean
) : int
パラメーター
- left
型: System.Boolean
最初のパラメーター値。
- right
型: System.Boolean
2 番目のパラメーター値。
戻り値
型: System.Int32
値 |
条件 |
|---|---|
-1 |
left は right より小さい値です。 |
0 |
x は y と等価です。 |
1 |
left は right より大きい値です。 |
説明
この比較では、true は false より大きい値です。