VsShellUtilities.GetTaskItems(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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