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.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 GetCount As Integer
‘사용 방법
Dim instance As CompletionSet
Dim returnValue As Integer

returnValue = instance.GetCount()
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

CompletionSet Members

Microsoft.VisualStudio.Package Namespace