Lamp.GetDefaultAsync Lamp.GetDefaultAsync Lamp.GetDefaultAsync Lamp.GetDefaultAsync Lamp.GetDefaultAsync Method

Definition

Gets a Lamp object representing the default lamp for the device.

public : static IAsyncOperation<Lamp> GetDefaultAsync()
static IAsyncOperation<Lamp> GetDefaultAsync() const;
public static IAsyncOperation<Lamp> GetDefaultAsync()
Public Shared Function GetDefaultAsync() As IAsyncOperation(Of Lamp)
Windows.Devices.Lights.Lamp.getDefaultAsync().done( /* Your success and error handlers */ );

Returns

An asynchronous operation that returns a Lamp object upon successful completion.