Udostępnij za pośrednictwem


LampAvailabilityChangedEventArgs Class

Definition

Provides data for the AvailabilityChanged event.

public ref class LampAvailabilityChangedEventArgs 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 LampAvailabilityChangedEventArgs 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 LampAvailabilityChangedEventArgs
Public NotInheritable Class LampAvailabilityChangedEventArgs
Inheritance
Object Platform::Object IInspectable LampAvailabilityChangedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

IsAvailable

Gets a value indicating whether the lamp device that triggered the event is available.

Applies to