Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a list of bitmaps from the specified assembly and resource names.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function GetImageList ( _
assembly As Assembly, _
resourceNames As String() _
) As ImageList
public static ImageList GetImageList(
Assembly assembly,
string[] resourceNames
)
public:
static ImageList^ GetImageList(
Assembly^ assembly,
array<String^>^ resourceNames
)
static member GetImageList :
assembly:Assembly *
resourceNames:string[] -> ImageList
public static function GetImageList(
assembly : Assembly,
resourceNames : String[]
) : ImageList
Parameters
assembly
Type: System.Reflection.AssemblyThe assembly from which to get the resources.
resourceNames
Type: array<System.String[]An array of resource names (representing bitmaps) in the assembly.
Return Value
Type: System.Windows.Forms.ImageList
An ImageList containing a series of 16 by 16 pixel 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.