Declarations::GetCount Method ()

 

When implemented in a derived class, gets the number of items in the list of declarations.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetCount() abstract

Return Value

Type: System::Int32

The count of items represented by this Declarations class.

How the declarations are stored is dependent on your implementation of the Declarations class. Note, however, that the GetBestMatch method assumes the list is sorted in ascending order.

Return to top
Show: