Share via


ExpansionFunction.GetListCount(Int32) Method

Definition

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

public:
 virtual int GetListCount([Runtime::InteropServices::Out] int % iListCount);
 virtual int GetListCount([Runtime::InteropServices::Out] int & iListCount);
public virtual int GetListCount (out int iListCount);
abstract member GetListCount : int -> int
override this.GetListCount : int -> int
Public Overridable Function GetListCount (ByRef iListCount As Integer) As Integer

Parameters

iListCount
Int32

[out] Returns the number of items in the list.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

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.

Applies to