Compartilhar via


SocialUserInfo Classe

Definição

Representa um usuário de um serviço de provedor de mídia social.

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
Herança
Object Platform::Object IInspectable SocialUserInfo
Atributos

Requisitos do Windows

Família de dispositivos
Windows Mobile Extension SDK (introduzida na 10.0.10240.0)
Windows 10 Anniversary Edition (introduzida na 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduzida na v1.0)

Comentários

A propriedade SocialFeedChildItem.Author fornece acesso a uma instância dessa classe.

Propriedades

DisplayName

Obtém ou define o nome do usuário de mídia social, adequado para exibição.

RemoteId

Obtém ou define um valor que identifica o usuário no serviço de mídia social.

TargetUri

Obtém ou define o URI (Uniform Resource Identifier) para o usuário no sistema de mídia social.

UserName

Obtém ou define o nome de usuário do usuário no serviço de mídia social.

Aplica-se a