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。

属性

适用于