Поделиться через


SocialUserInfo.UserName Свойство

Определение

Возвращает или задает имя пользователя в службе социальных сетей.

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

void UserName(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("ISocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("ISocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
winrt::hstring UserName();

void UserName(winrt::hstring value);
public string UserName { get; set; }
public string UserName { [Windows.Foundation.Metadata.Deprecated("ISocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] get; [Windows.Foundation.Metadata.Deprecated("ISocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")] set; }
var string = socialUserInfo.userName;
socialUserInfo.userName = string;
Public Property UserName As String

Значение свойства

String

Platform::String

winrt::hstring

Имя пользователя в службе социальных сетей.

Атрибуты

Применяется к