Partager via


SocialItemThumbnail Classe

Définition

Représente une image miniature associée à un élément de flux de médias sociaux.

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
Héritage
Object Platform::Object IInspectable SocialItemThumbnail
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows Mobile Extension SDK (introduit dans 10.0.10240.0)
Windows 10 Anniversary Edition (introduit dans 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduit dans v1.0)

Constructeurs

SocialItemThumbnail()

Initialise une nouvelle instance de la classe SocialItemThumbnail.

Propriétés

BitmapSize

Obtient ou définit la taille de l’image bitmap miniature.

ImageUri

Obtient ou définit l’URI (Uniform Resource Identifier) sur le fichier image de cette miniature.

TargetUri

Obtient ou définit l’URI (Uniform Resource Identifier) sur l’élément cible associé à cette miniature.

Méthodes

SetImageAsync(IInputStream)

Définit de façon asynchrone l’image de cette miniature à partir d’un flux local.

S’applique à