PackageUtilities.GetImageList Method (Stream)
Creates an image list from the specified stream.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function GetImageList ( _
imageStream As Stream _
) As ImageList
public static ImageList GetImageList(
Stream imageStream
)
Parameters
- imageStream
Type: System.IO.Stream
The stream from which to extract the bitmaps.
Return Value
Type: System.Windows.Forms.ImageList
An ImageList containing a series of 16 by 16 pixel bitmaps with a magenta background color.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.