CastingDevice.DeviceInfoSupportsCastingAsync(DeviceInformation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the given device (a DeviceInformation object) supports casting.
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)
Parameters
- device
- DeviceInformation
The device you want to know about.
Returns
True if the device supports casting; false otherwise.
- Attributes