次の方法で共有


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

'宣言
Function GetEnumCount ( _
    iField As Integer, _
    <OutAttribute> ByRef pnValues As Integer _
) As Integer
'使用
Dim instance As IVsTaskItem3
Dim iField As Integer
Dim pnValues As Integer
Dim returnValue As Integer

returnValue = instance.GetEnumCount(iField, _
    pnValues)
int GetEnumCount(
    int iField,
    out int pnValues
)
int GetEnumCount(
    [InAttribute] int iField, 
    [OutAttribute] int% pnValues
)
function GetEnumCount(
    iField : int, 
    pnValues : int
) : int

Parameters

  • pnValues
    Type: System.Int32%

    [Out] A pointer to an integer value.

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 vsshell80.idl:

HRESULT IVsTaskItem3::GetEnumCount(
   [in] int iField, 
   [out] int* pnValues
);

Permissions

See Also

Reference

IVsTaskItem3 Interface

IVsTaskItem3 Members

Microsoft.VisualStudio.Shell.Interop Namespace