Compartilhar via


SocialItemThumbnail Classe

Definição

Representa uma imagem em miniatura associada a um item de feed de mídia social.

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
Herança
Object Platform::Object IInspectable SocialItemThumbnail
Atributos

Requisitos do Windows

Família de dispositivos
Windows Mobile Extension SDK (introduzida na 10.0.10240.0)
Windows 10 Anniversary Edition (introduzida na 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduzida na v1.0)

Construtores

SocialItemThumbnail()

Inicializa uma nova instância da classe SocialItemThumbnail .

Propriedades

BitmapSize

Obtém ou define o tamanho da imagem de bitmap de miniatura.

ImageUri

Obtém ou define o URI (Uniform Resource Identifier) para o arquivo de imagem dessa miniatura.

TargetUri

Obtém ou define o URI (Uniform Resource Identifier) como o item de destino associado a essa miniatura.

Métodos

SetImageAsync(IInputStream)

Define de forma assíncrona a imagem para essa miniatura de um fluxo local.

Aplica-se a