Freigeben über


SocialItemThumbnail.SetImageAsync(IInputStream) Methode

Definition

Legt das Bild für diese Miniaturansicht asynchron aus einem lokalen Stream fest.

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

Parameter

image
IInputStream

Der Bildstream.

Gibt zurück

Eine asynchrone Aktion, die angibt, dass der Vorgang abgeschlossen wurde.

Attribute

Gilt für: