共用方式為


SocialFeedSharedItem 類別

定義

代表由服務的另一位使用者與使用者共用的社交媒體專案。

public ref class SocialFeedSharedItem 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 SocialFeedSharedItem 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("SocialFeedSharedItem 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 SocialFeedSharedItem 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 SocialFeedSharedItem
[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("SocialFeedSharedItem 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 SocialFeedSharedItem
function SocialFeedSharedItem()
Public NotInheritable Class SocialFeedSharedItem
繼承
Object Platform::Object IInspectable SocialFeedSharedItem
屬性

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()

初始化 SocialFeedSharedItem 類別的新實例。

屬性

Content

取得與共享專案相關聯的 SocialFeedContent 物件。

OriginalSource

取得或設定共用專案的原始統一資源識別項 (URI) 。

TargetUri

取得或設定與這個共用專案相關聯之目標專案的統一資源識別項 (URI) 。

Thumbnail

取得或設定與此共用專案相關聯的縮圖影像。

Timestamp

取得或設定這個共用專案的時間戳記。

適用於