VsShellUtilities.GetTaskItems2(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 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