共用方式為


PackageUtilities.GetImageList Method (Object)

Creates a list of bitmaps from the resource handle.

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 ( _
    imageListAsPointer As Object _
) As ImageList
'用途
Dim imageListAsPointer As Object
Dim returnValue As ImageList

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

Parameters

  • imageListAsPointer
    Type: System.Object
    The handle of a resource.

Return Value

Type: System.Windows.Forms.ImageList
An ImageList containing a series of bitmaps.

.NET Framework Security

See Also

Reference

PackageUtilities Class

PackageUtilities Members

GetImageList Overload

Microsoft.VisualStudio.Shell Namespace