다음을 통해 공유


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

소셜 미디어 서비스의 사용자에 대한 사용자 이름입니다.

특성

적용 대상