Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of items in the list of values for the expansion function.
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
'Declaration
Public Overridable Function GetListCount ( _
<OutAttribute> ByRef iListCount As Integer _
) As Integer
public virtual int GetListCount(
out int iListCount
)
public:
virtual int GetListCount(
[OutAttribute] int% iListCount
)
abstract GetListCount :
iListCount:int byref -> int
override GetListCount :
iListCount:int byref -> int
public function GetListCount(
iListCount : int
) : int
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.