Share via


VsShellUtilities.GetTaskItems Method

Note: This API is now obsolete.

Gets a list of tasks.

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

Syntax

'Declaration
<ObsoleteAttribute("This method is obsolete. Please use GetTaskItems2 instead.")> _
Public Shared Function GetTaskItems ( _
    serviceProvider As IServiceProvider _
) As IList(Of IVsTaskItem2)
[ObsoleteAttribute("This method is obsolete. Please use GetTaskItems2 instead.")]
public static IList<IVsTaskItem2> GetTaskItems(
    IServiceProvider serviceProvider
)
[ObsoleteAttribute(L"This method is obsolete. Please use GetTaskItems2 instead.")]
public:
static IList<IVsTaskItem2^>^ GetTaskItems(
    IServiceProvider^ serviceProvider
)
[<ObsoleteAttribute("This method is obsolete. Please use GetTaskItems2 instead.")>]
static member GetTaskItems : 
        serviceProvider:IServiceProvider -> IList<IVsTaskItem2> 
public static function GetTaskItems(
    serviceProvider : IServiceProvider
) : IList<IVsTaskItem2>

Parameters

Return Value

Type: System.Collections.Generic.IList<IVsTaskItem2>
An IList of type IVsTaskItem2 of the task items.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace