SocialItemThumbnail.SetImageAsync(IInputStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously sets the image for this thumbnail from a local stream.
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
Parameters
- image
- IInputStream
The image stream.
Returns
An async action indicating that the operation has completed.
- Attributes