Dela via


VsShellUtilities.GetTaskItems2 Method

Note: This API is now obsolete.

Gets a list of all task items.

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

Syntax

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

Parameters

  • serviceProvider
    Type: IServiceProvider

    The service provider.

Return Value

Type: IList<IVsTaskItem>
The task items.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace