LineDisplayWindow.TryClearTextAsync 方法

定義

清除目前的視窗。 將所有字元變更為空白、清除視窗中顯示的任何點陣圖,並將 Cursor.Position 設定為 {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)

傳回

如果已成功清除視窗,則為 True;否則為 false。

屬性

適用於