Share via


VsShellUtilities.GetTaskItems2(IServiceProvider) Method

Definition

Caution

This method is obsolete. Please use GetTaskItems3 instead.

Gets a list of all task items.

public:
 static System::Collections::Generic::IList<Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ GetTaskItems2(IServiceProvider ^ serviceProvider);
[System.Obsolete("This method is obsolete. Please use GetTaskItems3 instead.")]
public static System.Collections.Generic.IList<Microsoft.VisualStudio.Shell.Interop.IVsTaskItem> GetTaskItems2 (IServiceProvider serviceProvider);
[<System.Obsolete("This method is obsolete. Please use GetTaskItems3 instead.")>]
static member GetTaskItems2 : IServiceProvider -> System.Collections.Generic.IList<Microsoft.VisualStudio.Shell.Interop.IVsTaskItem>
Public Shared Function GetTaskItems2 (serviceProvider As IServiceProvider) As IList(Of IVsTaskItem)
Public Function GetTaskItems2 (serviceProvider As IServiceProvider) As IList(Of IVsTaskItem)

Parameters

serviceProvider
IServiceProvider

The service provider.

Returns

A list of task items.

Attributes

Applies to