Share via


Lamp.GetDefaultAsync Method

Definition

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

public:
 static IAsyncOperation<Lamp ^> ^ GetDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Lamp> GetDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<Lamp> GetDefaultAsync();
function getDefaultAsync()
Public Shared Function GetDefaultAsync () As IAsyncOperation(Of Lamp)

Returns

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

Attributes

Applies to