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.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

‘선언
Public Overridable Function GetImageList ( _
    <OutAttribute> ByRef phImages As IntPtr _
) As Integer
‘사용 방법
Dim instance As CompletionSet
Dim phImages As IntPtr
Dim returnValue As Integer

returnValue = instance.GetImageList(phImages)
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: 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

CompletionSet Members

Microsoft.VisualStudio.Package Namespace