LineDisplayWindow.TryClearTextAsync Method

Definition

Clears the current window. Changers all characters to blanks, clears any bitmaps displayed in the window, and sets Cursor.Position to {0,0}.

public:
 virtual IAsyncOperation<bool> ^ TryClearTextAsync() = TryClearTextAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryClearTextAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryClearTextAsync();
function tryClearTextAsync()
Public Function TryClearTextAsync () As IAsyncOperation(Of Boolean)

Returns

True if the window was successfully cleared; otherwise, false.

Attributes

Applies to