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。

属性

适用于