Share via


IVsExpansionFunction.GetListCount(Int32) Method

Definition

Returns the number of items in the list of values associated with the expansion function.

public:
 int GetListCount([Runtime::InteropServices::Out] int % iCount);
int GetListCount([Runtime::InteropServices::Out] int & iCount);
public int GetListCount (out int iCount);
abstract member GetListCount : int -> int
Public Function GetListCount (ByRef iCount As Integer) As Integer

Parameters

iCount
Int32

[out] Returns the number of values that represent this expansion function.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

long IVsExpansionFunction::GetListCount(  
   [out] long *iCount  
);  

Call the GetListText method to obtain each value in the list.

Applies to