共用方式為


VsShellUtilities.GetTaskItems2 Method

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

Syntax

'宣告
Public Shared Function GetTaskItems2 ( _
    serviceProvider As IServiceProvider _
) As IList(Of IVsTaskItem)
'用途
Dim serviceProvider As IServiceProvider
Dim returnValue As IList(Of IVsTaskItem)

returnValue = VsShellUtilities.GetTaskItems2(serviceProvider)
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

Return Value

Type: System.Collections.Generic.IList<IVsTaskItem>

.NET Framework Security

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

Microsoft.VisualStudio.Shell Namespace