次の方法で共有


BarcodeScanner.IsProfileSupported(String) メソッド

定義

プロファイルがサポートされているかどうかを判断します。

重要

この API は、Windows Mobile デバイス ファミリのビルド 10240 とビルド 10586 (UWP 用 Windows Mobile 拡張機能) にのみ適用されます。 この API は、Windows デスクトップ デバイス ファミリ、他のデバイス ファミリ、または 10240 および 10586 以外の Windows Mobile のビルドには適用されません。 適用されないオペレーティング システム (OS) で呼び出された場合、この API の動作は未定義です。 デバイス ファミリの詳細については、「 デバイス ファミリ拡張機能 SDK と API コントラクト」を参照してください。

public:
 virtual bool IsProfileSupported(Platform::String ^ profile) = IsProfileSupported;
bool IsProfileSupported(winrt::hstring const& profile);
public bool IsProfileSupported(string profile);
function isProfileSupported(profile)
Public Function IsProfileSupported (profile As String) As Boolean

パラメーター

profile
String

Platform::String

winrt::hstring

バーコード スキャナー プロファイル。

戻り値

Boolean

bool

バーコード スキャナーがプロファイルをサポートしている場合は True。それ以外の場合は false。

適用対象