次の方法で共有


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