Udostępnij za pośrednictwem


IVsDefaultButtonBarImages.GetImageList(IntPtr) Method

Definition

Returns the Buttonbar image list.

public:
 int GetImageList([Runtime::InteropServices::Out] IntPtr % phImageList);
public int GetImageList (out IntPtr phImageList);
abstract member GetImageList : nativeint -> int
Public Function GetImageList (ByRef phImageList As IntPtr) As Integer

Parameters

phImageList
IntPtr

nativeint

[out] Handle of the image list.

Returns

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.

Applies to