TaskProvider.IVsTaskProvider.ImageList Method
Gets this provider's image list.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣告
Private Function ImageList ( _
<OutAttribute> ByRef himagelist As IntPtr _
) As Integer Implements IVsTaskProvider.ImageList
'用途
Dim instance As TaskProvider
Dim himagelist As IntPtr
Dim returnValue As Integer
returnValue = CType(instance, IVsTaskProvider).ImageList(himagelist)
int IVsTaskProvider.ImageList(
out IntPtr himagelist
)
private:
virtual int ImageList(
[OutAttribute] IntPtr% himagelist
) sealed = IVsTaskProvider::ImageList
private abstract ImageList :
himagelist:IntPtr byref -> int
private override ImageList :
himagelist:IntPtr byref -> int
JScript does not support explicit interface implementations.
Parameters
- himagelist
Type: System.IntPtr%
[out] Handle.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTaskProvider.ImageList(IntPtr%)
.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.