Share via


IVsTaskProvider.EnumTaskItems Method

Standard enumerator over tasks supplied by this provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function EnumTaskItems ( _
    <OutAttribute> ByRef ppenum As IVsEnumTaskItems _
) As Integer
int EnumTaskItems(
    out IVsEnumTaskItems ppenum
)
int EnumTaskItems(
    [OutAttribute] IVsEnumTaskItems^% ppenum
)
abstract EnumTaskItems : 
        ppenum:IVsEnumTaskItems byref -> int
function EnumTaskItems(
    ppenum : IVsEnumTaskItems
) : int

Parameters

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTaskProvider::EnumTaskItems(
   [out] IVsEnumTaskItems **ppEnum
);

The task list uses this method to scan through all of the tasks of this task provider, via the IVsEnumTaskItems interface that is returned.

This method enumerates only the tasks provided by this task provider. All of the tasks in the task list are enumerated through the EnumTaskItems.

.NET Framework Security

See Also

Reference

IVsTaskProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace