BarcodeScanner.VideoDeviceId 屬性

定義

擷取影片裝置識別碼,代表與宣告條碼掃描器相關聯的相機鏡頭。 行動平臺不支援 ()

public:
 property Platform::String ^ VideoDeviceId { Platform::String ^ get(); };
winrt::hstring VideoDeviceId();
public string VideoDeviceId { get; }
var string = barcodeScanner.videoDeviceId;
Public ReadOnly Property VideoDeviceId As String

屬性值

String

Platform::String

winrt::hstring

視訊裝置識別碼。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於