Share via


SocialUserInfo.DisplayName Property

Definition

Gets or sets the name of the social media user, suitable for display.

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

void DisplayName(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 DisplayName();

void DisplayName(winrt::hstring value);
public string DisplayName { get; set; }
public string DisplayName { [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.displayName;
socialUserInfo.displayName = string;
Public Property DisplayName As String

Property Value

String

Platform::String

winrt::hstring

The name of the social media user, suitable for display.

Attributes

Applies to