Udostępnij za pośrednictwem


Metoda ExpansionFunction.GetListCount —

Pobiera liczbę elementów na liście wartości dla funkcji rozszerzenia.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Składnia

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

Parametry

  • iListCount
    Typ: System.Int32%
    [out] Zwraca liczbę elementów na liście.

Wartość zwracana

Typ: System.Int32
Jeśli się powiedzie, zwraca S_OK; w przeciwnym razie zwraca kod błędu.

Implementuje

IVsExpansionFunction.GetListCount(Int32%)

Uwagi

Ta metoda jest implementacją GetListCount metody na IVsExpansionFunction metody.

Metody podstawowej zwraca liczbę elementów zwrócony z wywołania GetIntellisenseList metody.Metody podstawowej zawsze zwraca kod sukcesu S_OK.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ExpansionFunction Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package