Partager via


VsShellUtilities.GetErrorListItems Method

Gets the items in the error list.

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

Syntax

'Declaration
Public Shared Function GetErrorListItems ( _
    serviceProvider As IServiceProvider _
) As IEnumerable(Of IVsTaskItem)
public static IEnumerable<IVsTaskItem> GetErrorListItems(
    IServiceProvider serviceProvider
)
public:
static IEnumerable<IVsTaskItem^>^ GetErrorListItems(
    IServiceProvider^ serviceProvider
)
static member GetErrorListItems : 
        serviceProvider:IServiceProvider -> IEnumerable<IVsTaskItem> 
public static function GetErrorListItems(
    serviceProvider : IServiceProvider
) : IEnumerable<IVsTaskItem>

Parameters

  • serviceProvider
    Type: IServiceProvider

    The service provider.

Return Value

Type: IEnumerable<IVsTaskItem>
The error list items.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace