Partager via


SocialUserInfo.UserName Propriété

Définition

Obtient ou définit le nom d’utilisateur de l’utilisateur sur le service de médias sociaux.

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

Valeur de propriété

String

Platform::String

winrt::hstring

Nom d’utilisateur de l’utilisateur sur le service de médias sociaux.

Attributs

S’applique à