SocialFeedItem 类

定义

表示社交媒体源项。

public ref class SocialFeedItem sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [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 SocialFeedItem final
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [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("SocialFeedItem 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 SocialFeedItem final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
[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 SocialFeedItem
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
[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("SocialFeedItem 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 SocialFeedItem
function SocialFeedItem()
Public NotInheritable Class SocialFeedItem
继承
Object Platform::Object IInspectable SocialFeedItem
属性

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 中引入)

构造函数

SocialFeedItem()

初始化 SocialFeedItem 类的新实例。

属性

Author

获取社交媒体源项的作者。

BadgeCountValue

获取或设置应用锁屏提醒上显示的未看到项的数量。

BadgeStyle

获取或设置应用的锁屏提醒样式。

ChildItem

获取或设置与此社交源项关联的子项。

PrimaryContent

获取与项关联的主要 SocialFeedContent 对象。

RemoteId

获取或设置用于在提供程序的系统上标识此项的值。

SecondaryContent

获取与此项目关联的辅助 SocialFeedContent 对象。

SharedItem

获取由服务的其他用户与用户共享的社交媒体项。

Style

获取或设置此项的样式,例如照片或默认值。

TargetUri

获取或设置与此项关联的目标项) 统一资源标识符 (URI。

Thumbnails

获取与此项关联的缩略图图像的列表。

Timestamp

获取或设置此项的时间戳。

适用于