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

适用于