IVsTaskItem3.GetEnumCount(Int32, Int32) Method

Definition

Given a column field, returns the number of possible values this task may have for that column.

public:
 int GetEnumCount(int iField, [Runtime::InteropServices::Out] int % pnValues);
int GetEnumCount(int iField, [Runtime::InteropServices::Out] int & pnValues);
public int GetEnumCount (int iField, out int pnValues);
abstract member GetEnumCount : int * int -> int
Public Function GetEnumCount (iField As Integer, ByRef pnValues As Integer) As Integer

Parameters

iField
Int32

[in] An integer value.

pnValues
Int32

[out] A pointer to an integer value.

Returns

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  
);  

Applies to