Dela via


CastingDeviceSelectedEventArgs Class

Definition

Represents the event arguments for the CastingDeviceSelected event on the CastingDevicePicker object.

public ref class CastingDeviceSelectedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CastingDeviceSelectedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CastingDeviceSelectedEventArgs
Public NotInheritable Class CastingDeviceSelectedEventArgs
Inheritance
Object Platform::Object IInspectable CastingDeviceSelectedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by handling the CastingDeviceSelected event.

Properties

SelectedCastingDevice

Represents the CastingDevice that has been selected by the user in a casting device picker.

Applies to