Creates an ImageList of 16x16 images by splitting the supplied bitmap or stream.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Shared Function GetImageList ( _
imageListAsPointer As Object _
) As ImageList
'使用
Dim imageListAsPointer As Object
Dim returnValue As ImageList
returnValue = Utilities.GetImageList(imageListAsPointer)
public static ImageList GetImageList(
Object imageListAsPointer
)
public:
static ImageList^ GetImageList(
Object^ imageListAsPointer
)
public static function GetImageList(
imageListAsPointer : Object
) : ImageList
Parameters
imageListAsPointer
Type: System.ObjectPointer to the bitmap.
Return Value
Type: System.Windows.Forms.ImageList
Permissions
- 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.