AccountsSettingsPane.ShowAddAccountAsync 方法

定義

顯示 [新增帳戶] 畫面。

public:
 static IAsyncAction ^ ShowAddAccountAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction ShowAddAccountAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction ShowAddAccountAsync();
function showAddAccountAsync()
Public Shared Function ShowAddAccountAsync () As IAsyncAction

傳回

表示非同步動作。 您通常不會直接存取此 IAsyncAction 傳回值。 這是因為您幾乎一律使用語言特定的可等候語法。 在此情況下,方法的明顯傳回值為 void

當使用者關閉 [新增帳戶] 畫面時,非同步動作就會完成。

屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於