共用方式為


AppBroadcastBackgroundServiceSignInInfo.UserName 屬性

定義

取得或設定應用程式廣播背景服務驗證的使用者名稱。

public:
 property Platform::String ^ UserName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring UserName();

void UserName(winrt::hstring value);
public string UserName { get; set; }
var string = appBroadcastBackgroundServiceSignInInfo.userName;
appBroadcastBackgroundServiceSignInInfo.userName = string;
Public Property UserName As String

屬性值

String

Platform::String

winrt::hstring

Windows 需求

應用程式功能
appBroadcast appBroadcastSettings

適用於