System.Bluetooth.TBluetoothUUID.operator Equality

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

Delphi

class operator Equal(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)
    ; // 何らかの処理を実行
メモ: 等値演算子を直接呼び出さないでください。これは、コンパイラの等値演算のオーバーロードになります。

関連項目