Bagikan melalui


CastingDevice.DeviceInfoSupportsCastingAsync(DeviceInformation) Metode

Definisi

Menunjukkan apakah perangkat yang diberikan (objek DeviceInformation ) mendukung transmisi.

public:
 static IAsyncOperation<bool> ^ DeviceInfoSupportsCastingAsync(DeviceInformation ^ device);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> DeviceInfoSupportsCastingAsync(DeviceInformation const& device);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> DeviceInfoSupportsCastingAsync(DeviceInformation device);
function deviceInfoSupportsCastingAsync(device)
Public Shared Function DeviceInfoSupportsCastingAsync (device As DeviceInformation) As IAsyncOperation(Of Boolean)

Parameter

device
DeviceInformation

Perangkat yang ingin Anda ketahui.

Mengembalikan

True jika perangkat mendukung transmisi; false jika tidak.

Atribut

Berlaku untuk