BarcodeScanner.IsProfileSupported(String) Methode

Definition

Bestimmt, ob das Profil unterstützt wird.

Wichtig

Diese API gilt nur für Build 10240 und Build 10586 der Windows Mobile-Gerätefamilie (Windows Mobile-Erweiterungen für die UWP). Diese API gilt weder für die Windows Desktop-Gerätefamilie noch für andere Gerätefamilien, noch für Builds von Windows Mobile mit Ausnahme von 10240 und 10586. Wenn sie auf einem Betriebssystem (OS) aufgerufen wird, für das sie nicht gilt, ist das Verhalten dieser API nicht definiert. Weitere Informationen zu Gerätefamilien finden Sie unter Gerätefamilienerweiterungs-SDKs und API-Verträge.

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

Parameter

profile
String

Platform::String

winrt::hstring

Barcodescannerprofil.

Gibt zurück

Boolean

bool

True, wenn der Barcodescanner das Profil unterstützt; andernfalls false.

Gilt für: