CompletionSet.GetImageList Method

Returns the image list to use for the glyphs in the completion list.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function GetImageList ( _
    <OutAttribute> ByRef phImages As IntPtr _
) As Integer
public virtual int GetImageList(
    out IntPtr phImages
)
public:
virtual int GetImageList(
    [OutAttribute] IntPtr% phImages
)
abstract GetImageList : 
        phImages:IntPtr byref -> int  
override GetImageList : 
        phImages:IntPtr byref -> int
public function GetImageList(
    phImages : IntPtr
) : int

Parameters

  • phImages
    Type: IntPtr%

    [out] Returns the handle to an image list.

Return Value

Type: Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsCompletionSet.GetImageList(IntPtr%)

Remarks

This method is an implementation of the GetImageList method on the IVsCompletionSet interface.

The base method returns the handle of the image list that was passed to the CompletionSet class constructor. The base method always returns a success code of S_OK.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace