VsShellUtilities.GetTaskItems Method
Gets a list of tasks.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Public Shared Function GetTaskItems ( _
serviceProvider As IServiceProvider _
) As IList(Of IVsTaskItem2)
'Utilisation
Dim serviceProvider As IServiceProvider
Dim returnValue As IList(Of IVsTaskItem2)
returnValue = VsShellUtilities.GetTaskItems(serviceProvider)
public static IList<IVsTaskItem2> GetTaskItems(
IServiceProvider serviceProvider
)
public:
static IList<IVsTaskItem2^>^ GetTaskItems(
IServiceProvider^ serviceProvider
)
static member GetTaskItems :
serviceProvider:IServiceProvider -> IList<IVsTaskItem2>
public static function GetTaskItems(
serviceProvider : IServiceProvider
) : IList<IVsTaskItem2>
Parameters
- serviceProvider
Type: System.IServiceProvider
IServiceProvider.
Return Value
Type: System.Collections.Generic.IList<IVsTaskItem2>
An IList of type IVsTaskItem2 of 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.