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
- 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.