SocialUserInfo.DisplayName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The name of the social media user, suitable for display.
- Attributes