SocialFeedContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a social media message.
public ref class SocialFeedContent 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 SocialFeedContent 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("SocialFeedContent 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 SocialFeedContent 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 SocialFeedContent
[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("SocialFeedContent 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 SocialFeedContent
Public NotInheritable Class SocialFeedContent
- Inheritance
- 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)
|
Remarks
The SocialFeedSharedItem.Content, SocialFeedChildItem.PrimaryContent and SocialFeedChildItem.SecondaryContent properties provide access to instances of this class.
Properties
Message |
Gets or sets the social media message. |
TargetUri |
Gets or sets the Uniform Resource Identifier (URI) to the target of the content. |
Title |
Gets or sets the title of the content. |