Freigeben über


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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Overridable Function GetImageList ( _
    <OutAttribute> ByRef phImages As IntPtr _
) As Integer
public virtual int GetImageList(
    out IntPtr phImages
)

Parameters

  • phImages
    Type: System.IntPtr%
    [out] Returns the handle to an image list.

Return Value

Type: System.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