PackageUtilities.GetImageList Method (Stream)

Creates an image list from the specified stream.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Shared Function GetImageList ( _
    imageStream As Stream _
) As ImageList
用法
Dim imageStream As Stream
Dim returnValue As ImageList

returnValue = PackageUtilities.GetImageList(imageStream)
public static ImageList GetImageList(
    Stream imageStream
)
public:
static ImageList^ GetImageList(
    Stream^ imageStream
)
static member GetImageList : 
        imageStream:Stream -> ImageList 
public static function GetImageList(
    imageStream : Stream
) : ImageList

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

See Also

Reference

PackageUtilities Class

PackageUtilities Members

GetImageList Overload

Microsoft.VisualStudio.Shell Namespace