Freigeben über


ExpansionFunction.GetListCount Method

Gets the number of items in the list of values for the expansion function.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Overridable Function GetListCount ( _
    <OutAttribute> ByRef iListCount As Integer _
) As Integer
public virtual int GetListCount(
    out int iListCount
)

Parameters

  • iListCount
    Type: System.Int32%
    [out] Returns the number of items in the list.

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsExpansionFunction.GetListCount(Int32%)

Remarks

This method is an implementation of the GetListCount method on the IVsExpansionFunction method.

The base method returns the count of items returned from a call to the GetIntellisenseList method. The base method always returns a success code of S_OK.

.NET Framework Security

See Also

Reference

ExpansionFunction Class

Microsoft.VisualStudio.Package Namespace