Partager via


TaskProvider.IVsTaskProvider2.EnumTaskItems Method

Gets an enumerator over task items.

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

Syntax

'Declaration
Private Function EnumTaskItems ( _
    <OutAttribute> ByRef items As IVsEnumTaskItems _
) As Integer Implements IVsTaskProvider2.EnumTaskItems
int IVsTaskProvider2.EnumTaskItems(
    out IVsEnumTaskItems items
)
private:
virtual int EnumTaskItems(
    [OutAttribute] IVsEnumTaskItems^% items
) sealed = IVsTaskProvider2::EnumTaskItems
private abstract EnumTaskItems : 
        items:IVsEnumTaskItems byref -> int  
private override EnumTaskItems : 
        items:IVsEnumTaskItems byref -> int
JScript does not support explicit interface implementations.

Parameters

Return Value

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

Implements

IVsTaskProvider2.EnumTaskItems(IVsEnumTaskItems%)

Remarks

This method calls EnumTaskItems.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace