IVsTaskItem3.GetEnumCount Method
Given a column field, returns the number of possible values this task may have for that column.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetEnumCount ( _
iField As Integer, _
<OutAttribute> ByRef pnValues As Integer _
) As Integer
int GetEnumCount(
int iField,
out int pnValues
)
int GetEnumCount(
[InAttribute] int iField,
[OutAttribute] int% pnValues
)
abstract GetEnumCount :
iField:int *
pnValues:int byref -> int
function GetEnumCount(
iField : int,
pnValues : int
) : int
Parameters
iField
Type: Int32[in] An integer value.
pnValues
Type: Int32%[out] A pointer to an integer value.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::GetEnumCount(
[in] int iField,
[out] int* pnValues
);
.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.