ClassViewImages.GetImageList Method
Get the list of images used within the given service provider.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function GetImageList ( _
serviceProvider As IServiceProvider _
) As ImageList
public static ImageList GetImageList(
IServiceProvider serviceProvider
)
public:
static ImageList^ GetImageList(
IServiceProvider^ serviceProvider
)
static member GetImageList :
serviceProvider:IServiceProvider -> ImageList
public static function GetImageList(
serviceProvider : IServiceProvider
) : ImageList
Parameters
- serviceProvider
Type: System.IServiceProvider
A Visual Studio service provider.
Return Value
Type: System.Windows.Forms.ImageList
The image list used by Class View, Model Explorer, and IntelliSense.
.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.