共用方式為


AppWindow.TryShowAsync 方法

定義

嘗試以非同步方式顯示目前的應用程式視窗。

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

傳回

如果已成功顯示視窗,則為true;否則為false

屬性

適用於