Compartilhar via


TaskProvider.IVsTaskProvider2.ImageList Method

Gets this provider's image list.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function ImageList ( _
    <OutAttribute> ByRef himagelist As IntPtr _
) As Integer Implements IVsTaskProvider2.ImageList
int IVsTaskProvider2.ImageList(
    out IntPtr himagelist
)
private:
virtual int ImageList(
    [OutAttribute] IntPtr% himagelist
) sealed = IVsTaskProvider2::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: IntPtr%

    [out] Handle.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTaskProvider2.ImageList(IntPtr%)

Remarks

This method calls ImageList.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace