System.Bluetooth.TBluetoothUUID.operator Inequality

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class operator NotEqual(const Left, Right: TGUID): Boolean; inline;

プロパティ

種類 可視性 ソース ユニット
function public System.pas System.Bluetooth TBluetoothUUID


説明

2 つの TBluetoothUUID 値が等しくないかどうかを判定する関数です。<> 演算子をオーバーロードしています。

不等演算子は、パラメータとして与えられた 2 つの TBluetoothUUID 値が等しくない場合は True を返し、それ以外の場合は False を返します。

Delphi の場合:

var a, b: TBluetoothUUID;
if (a <> b) then
  ; // 何らかの処理を実行
C++ の場合:
TBluetoothUUID a, b;
if (a != b)
    ; // 何らかの処理を実行
メモ: 不等演算子を直接呼び出さないでください。これは、コンパイラの不等演算のオーバーロードになります。

関連項目