Partilhar via


VsShellUtilities.GetTaskItems(IServiceProvider) Method

Definition

Caution

This method is obsolete. Please use GetTaskItems2 instead.

Gets a list of tasks.

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

Parameters

serviceProvider
IServiceProvider

The service provider.

Returns

A list of task items.

Attributes

Applies to