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
‘선언
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
- 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.