DocumentTask Constructor (IServiceProvider^, IVsTextLines^, MARKERTYPE, TextSpan, String^)

 

Initializes a new instance of DocumentTask for the specified text buffer, text span, and file name.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
DocumentTask(
	IServiceProvider^ site,
	IVsTextLines^ buffer,
	MARKERTYPE markerType,
	TextSpan span,
	String^ fileName
)

Parameters

site
Type: System::IServiceProvider^

The IServiceProvider.

buffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

The IVsTextLines text buffer.

markerType
Type: Microsoft.VisualStudio.TextManager.Interop::MARKERTYPE

The MARKERTYPE of the marker.

span
Type: Microsoft.VisualStudio.TextManager.Interop::TextSpan

The TextSpan of the buffer.

fileName
Type: System::String^

The name of the file in which the text is found.

This constructor creates the marker that enables navigation between the task list and the code window.

Return to top
Show: