Initializes an instance of the ClassViewImages class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public Shared Function GetImageList ( _
serviceProvider As IServiceProvider _
) As ImageList
'使用
Dim serviceProvider As IServiceProvider
Dim returnValue As ImageList
returnValue = ClassViewImages.GetImageList(serviceProvider)
public static ImageList GetImageList(
IServiceProvider serviceProvider
)
public:
static ImageList^ GetImageList(
IServiceProvider^ serviceProvider
)
public static function GetImageList(
serviceProvider : IServiceProvider
) : ImageList
Parameters
serviceProvider
Type: System.IServiceProviderThe Visual Studio service provider that retrieves the image list by using GetProperty.
Return Value
Type: System.Windows.Forms.ImageList
The image list that Class View, Model Explorer, and IntelliSense uses.
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.