Partager via


SocialItemThumbnail.SetImageAsync(IInputStream) Méthode

Définition

Définit de manière asynchrone l’image pour cette miniature à partir d’un flux local.

public:
 virtual IAsyncAction ^ SetImageAsync(IInputStream ^ image) = SetImageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetImageAsync(IInputStream const& image);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("ISocialItemThumbnail is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
IAsyncAction SetImageAsync(IInputStream const& image);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetImageAsync(IInputStream image);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("ISocialItemThumbnail 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 IAsyncAction SetImageAsync(IInputStream image);
function setImageAsync(image)
Public Function SetImageAsync (image As IInputStream) As IAsyncAction

Paramètres

image
IInputStream

Flux d'image.

Retours

Action asynchrone indiquant que l’opération est terminée.

Attributs

S’applique à