Freigeben über


SocialUserInfo Klasse

Definition

Stellt einen Benutzer eines Social Media-Anbieterdiensts dar.

public ref class SocialUserInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SocialUserInfo final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("SocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
class SocialUserInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SocialUserInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("SocialUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
public sealed class SocialUserInfo
Public NotInheritable Class SocialUserInfo
Vererbung
Object Platform::Object IInspectable SocialUserInfo
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (eingeführt in v1.0)

Hinweise

Die SocialFeedChildItem.Author-Eigenschaft bietet Zugriff auf eine instance dieser Klasse.

Eigenschaften

DisplayName

Ruft den Namen des Social Media-Benutzers ab, der für die Anzeige geeignet ist, oder legt den Namen fest.

RemoteId

Ruft einen Wert ab, der den Benutzer im Social Media-Dienst identifiziert, oder legt diesen fest.

TargetUri

Ruft den URI (Uniform Resource Identifier) für den Benutzer im Social Media-System ab oder legt diesen fest.

UserName

Ruft den Benutzernamen für den Benutzer im Social Media-Dienst ab oder legt diese fest.

Gilt für: