SocialItemThumbnail 类

定义

表示与社交媒体源项关联的缩略图。

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

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

构造函数

SocialItemThumbnail()

初始化 SocialItemThumbnail 类的新实例。

属性

BitmapSize

获取或设置缩略图位图图像的大小。

ImageUri

获取或设置统一资源标识符 (URI) 到此缩略图的图像文件。

TargetUri

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

方法

SetImageAsync(IInputStream)

从本地流异步设置此缩略图的图像。

适用于