Share via


WindowTabIcon.CreateFromImage(IRandomAccessStreamReference) Method

Definition

Creates the icon from the provided image stream.

public:
 static WindowTabIcon ^ CreateFromImage(IRandomAccessStreamReference ^ image);
 static WindowTabIcon CreateFromImage(IRandomAccessStreamReference const& image);
public static WindowTabIcon CreateFromImage(IRandomAccessStreamReference image);
function createFromImage(image)
Public Shared Function CreateFromImage (image As IRandomAccessStreamReference) As WindowTabIcon

Parameters

image
IRandomAccessStreamReference

The image stream from which to create the icon.

Returns

The icon created from the image stream.

Remarks

Important

This API is for Win32 desktop apps only. UWP and other app types are not supported.

Applies to