共用方式為


SocialUserInfo 類別

定義

代表社交媒體提供者服務的使用者。

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
繼承
Object Platform::Object IInspectable SocialUserInfo
屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (已於 v1.0 引進)

備註

SocialFeedChildItem.Author屬性可讓您存取這個類別的實例。

屬性

DisplayName

取得或設定適合顯示之社交媒體使用者的名稱。

RemoteId

取得或設定值,識別社交媒體服務上的使用者。

TargetUri

取得或設定對社交媒體系統上使用者的統一資源識別項 (URI) 。

UserName

取得或設定社交媒體服務上使用者的使用者名稱。

適用於