共用方式為


VsShellUtilities.GetErrorListItems(IServiceProvider) Method

Definition

Gets the items in the error list.

public:
 static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::Interop::IVsTaskItem ^> ^ GetErrorListItems(IServiceProvider ^ serviceProvider);
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.Interop.IVsTaskItem> GetErrorListItems (IServiceProvider serviceProvider);
static member GetErrorListItems : IServiceProvider -> seq<Microsoft.VisualStudio.Shell.Interop.IVsTaskItem>
Public Shared Function GetErrorListItems (serviceProvider As IServiceProvider) As IEnumerable(Of IVsTaskItem)
Public Function GetErrorListItems (serviceProvider As IServiceProvider) As IEnumerable(Of IVsTaskItem)

Parameters

serviceProvider
IServiceProvider

The service provider.

Returns

A list of items in the error list.

Applies to