IVsExpansionFunction::GetListCount Method (Int32)

 

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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int GetListCount(
	[OutAttribute] int% iCount
)

Parameters

iCount
Type: System::Int32

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

Return Value

Type: System::Int32

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

From textmgr2.idl:

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

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

Return to top
Show: