다음을 통해 공유


PackageUtilities.GetImageList Method

Definition

Overloads

GetImageList(Stream)

Creates an image list from the specified stream.

GetImageList(Object)

Creates a list of bitmaps from the resource handle.

GetImageList(Assembly, String[])

Creates a list of bitmaps from the specified assembly and resource names.

GetImageList(Stream)

Creates an image list from the specified stream.

public:
 static System::Windows::Forms::ImageList ^ GetImageList(System::IO::Stream ^ imageStream);
public static System.Windows.Forms.ImageList GetImageList (System.IO.Stream imageStream);
static member GetImageList : System.IO.Stream -> System.Windows.Forms.ImageList
Public Function GetImageList (imageStream As Stream) As ImageList

Parameters

imageStream
Stream

The stream from which to extract the bitmaps.

Returns

An ImageList that contains a series of 16-by-16 pixel bitmaps that have a magenta background color.

Applies to

GetImageList(Object)

Creates a list of bitmaps from the resource handle.

public:
 static System::Windows::Forms::ImageList ^ GetImageList(System::Object ^ imageListAsPointer);
public static System.Windows.Forms.ImageList GetImageList (object imageListAsPointer);
static member GetImageList : obj -> System.Windows.Forms.ImageList
Public Function GetImageList (imageListAsPointer As Object) As ImageList

Parameters

imageListAsPointer
Object

The handle of a resource.

Returns

An ImageList that contains a series of bitmaps.

Applies to

GetImageList(Assembly, String[])

Creates a list of bitmaps from the specified assembly and resource names.

public:
 static System::Windows::Forms::ImageList ^ GetImageList(System::Reflection::Assembly ^ assembly, cli::array <System::String ^> ^ resourceNames);
public static System.Windows.Forms.ImageList GetImageList (System.Reflection.Assembly assembly, string[] resourceNames);
static member GetImageList : System.Reflection.Assembly * string[] -> System.Windows.Forms.ImageList
Public Function GetImageList (assembly As Assembly, resourceNames As String()) As ImageList

Parameters

assembly
Assembly
resourceNames
String[]

Returns

Applies to