CompletionSet.GetCount Method

Gets the number of items that can be displayed 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 GetCount As Integer
public virtual int GetCount()
public:
virtual int GetCount()
abstract GetCount : unit -> int  
override GetCount : unit -> int
public function GetCount() : int

Return Value

Type: System.Int32
The number of items to be displayed.

Implements

IVsCompletionSet.GetCount()

Remarks

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

The base method forwards the call to the GetCount method on the Declarations object that was passed to the Init method.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace