LineDisplayCursor.TryUpdateAttributesAsync Method

Definition

Attempts to asynchronously update the attributes of the line display curor.

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

Parameters

attributes
LineDisplayCursorAttributes

The attributes to be applied to the cursor.

Returns

IAsyncOperation<Boolean>

IAsyncOperation<bool>

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

Attributes

Applies to