共用方式為


CastingDevice.DeviceInfoSupportsCastingAsync(DeviceInformation) 方法

定義

指出指定的裝置是否 (DeviceInformation 物件) 支援轉型。

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)

參數

device
DeviceInformation

您想要知道的裝置。

傳回

如果裝置支援傳播,則為 True;否則為 false。

屬性

適用於