IVsExpansionFunction.GetListCount Method
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)
Syntax
'Dichiarazione
Function GetListCount ( _
<OutAttribute> ByRef iCount As Integer _
) As Integer
'Utilizzo
Dim instance As IVsExpansionFunction
Dim iCount As Integer
Dim returnValue As Integer
returnValue = instance.GetListCount(iCount)
int GetListCount(
out int iCount
)
int GetListCount(
[OutAttribute] int% iCount
)
abstract GetListCount :
iCount:int byref -> int
function GetListCount(
iCount : int
) : int
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.
Remarks
COM Signature
From textmgr2.idl:
long IVsExpansionFunction::GetListCount(
[out] long *iCount
);
Call the GetListText method to obtain each value in the list.
.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.