VsShellUtilities.GetTaskItems2 Method
Gets a list of all task items.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function GetTaskItems2 ( _
serviceProvider As IServiceProvider _
) As IList(Of IVsTaskItem)
public static IList<IVsTaskItem> GetTaskItems2(
IServiceProvider serviceProvider
)
public:
static IList<IVsTaskItem^>^ GetTaskItems2(
IServiceProvider^ serviceProvider
)
static member GetTaskItems2 :
serviceProvider:IServiceProvider -> IList<IVsTaskItem>
public static function GetTaskItems2(
serviceProvider : IServiceProvider
) : IList<IVsTaskItem>
Parameters
- serviceProvider
Type: System.IServiceProvider
The service provider.
Return Value
Type: System.Collections.Generic.IList<IVsTaskItem>
The task items.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.