ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes) Method

Definition

Updates the device attributes.

public:
 virtual IAsyncOperation<bool> ^ TryUpdateAttributesAsync(LineDisplayAttributes ^ attributes) = TryUpdateAttributesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryUpdateAttributesAsync(LineDisplayAttributes const & attributes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryUpdateAttributesAsync(LineDisplayAttributes attributes);
function tryUpdateAttributesAsync(attributes)
Public Function TryUpdateAttributesAsync (attributes As LineDisplayAttributes) As IAsyncOperation(Of Boolean)

Parameters

attributes
LineDisplayAttributes

The updated attributes to be applied to the device.

Returns

IAsyncOperation<Boolean>

Returns True if the attributes were successfully updated; otherwise, False.

Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to