Partager via


IVsDefaultButtonBarImages.GetImageList Method

Returns the Buttonbar image list.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetImageList ( _
    <OutAttribute> ByRef phImageList As IntPtr _
) As Integer
int GetImageList(
    out IntPtr phImageList
)
int GetImageList(
    [OutAttribute] IntPtr% phImageList
)
abstract GetImageList : 
        phImageList:IntPtr byref -> int 
function GetImageList(
    phImageList : IntPtr
) : int

Parameters

  • phImageList
    Type: System.IntPtr%
    [out] Handle of the image list.

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsDefaultButtonBarImages::GetImageList(
   [out] HANDLE *phImageList
);

Do not attempt to free the image list that is returned. The implementer of this interface does that.

.NET Framework Security

See Also

Reference

IVsDefaultButtonBarImages Interface

Microsoft.VisualStudio.TextManager.Interop Namespace