SocialFeedContent 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表社交媒體訊息。
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
- 繼承
- 屬性
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 引進)
|
備註
SocialFeedSharedItem.Content、SocialFeedChildItem.PrimaryContent和SocialFeedChildItem.SecondaryContent屬性可讓您存取此類別的實例。
屬性
Message |
取得或設定社交媒體訊息。 |
TargetUri |
取得或設定統一資源識別項 (URI) 至內容的目標。 |
Title |
取得或設定內容的標題。 |