REST.Backend.PushTypes.TBackendPushDeviceApi.TryGetInstallationValue
Delphi
function TryGetInstallationValue(out AValue: TBackendEntityValue): Boolean;
C++
bool __fastcall TryGetInstallationValue(/* out */ Rest::Backend::Metatypes::TBackendEntityValue &AValue);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | REST.Backend.PushTypes.pas REST.Backend.PushTypes.hpp |
REST.Backend.PushTypes | TBackendPushDeviceApi |
説明
デバイスが登録された後で、インストール オブジェクトの ID の取得を試みます。ID が入手できれば True
を返します。
TBackendEntityValue.ObjectID プロパティを使用して、インストール オブジェクトのオブジェクト ID を取得してください。
TryGetInstallationValue はプロバイダが IBackendPushDeviceApi2 インターフェイスをサポートするかどうかを確認します。 サポートする場合、TryGetInstallationValue は IBackendPushDeviceApi2.TryGetInstallationValue を呼び出します。
そうでない場合、TryGetInstallationValue は False
を返します。