Condividi tramite


SocialItemThumbnail Classe

Definizione

Rappresenta un'immagine di anteprima associata a un elemento del feed di social media.

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
Ereditarietà
Object Platform::Object IInspectable SocialItemThumbnail
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Mobile Extension SDK (è stato introdotto in 10.0.10240.0)
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (è stato introdotto in v1.0)

Costruttori

SocialItemThumbnail()

Inizializza una nuova istanza della classe SocialItemThumbnail .

Proprietà

BitmapSize

Ottiene o imposta le dimensioni dell'immagine bitmap di anteprima.

ImageUri

Ottiene o imposta l'URI (Uniform Resource Identifier) sul file di immagine per questa anteprima.

TargetUri

Ottiene o imposta l'URI (Uniform Resource Identifier) sull'elemento di destinazione associato a questa anteprima.

Metodi

SetImageAsync(IInputStream)

Imposta in modo asincrono l'immagine per questa anteprima da un flusso locale.

Si applica a