Share via


SocialFeedItem Class

Definition

Represents a social media feed item.

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
Inheritance
Object Platform::Object IInspectable SocialFeedItem
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced in v1.0)

Constructors

SocialFeedItem()

Initializes a new instance of the SocialFeedItem class.

Properties

Author

Gets the author of the social media feed item.

BadgeCountValue

Gets or sets the number of unseen items displayed on the app badge.

BadgeStyle

Gets or sets the badge style for the app.

ChildItem

Gets or sets the child item associated with this social feed item.

PrimaryContent

Gets the primary SocialFeedContent object associated with the item.

RemoteId

Gets or sets the value used to identify this item on the provider's system.

SecondaryContent

Gets the secondary SocialFeedContent object associated with this item.

SharedItem

Gets a social media item that was shared with the user by another user of the service.

Style

Gets or set the style of this item, such as photo or default.

TargetUri

Gets or sets the Uniform Resource Identifier (URI) to the target item associated with this item.

Thumbnails

Gets a list of thumbnail images associated with this item.

Timestamp

Gets or sets the timestamp for this item.

Applies to