IScrollMapFactoryService Interface

Creates or reuses an IScrollMap for an ITextView.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

声明
Public Interface IScrollMapFactoryService
public interface IScrollMapFactoryService
public interface class IScrollMapFactoryService
type IScrollMapFactoryService =  interface end
public interface IScrollMapFactoryService

Methods

  Name Description
Public method Create(ITextView) Creates or reuses an existing scroll map for the specified ITextView.
Public method Create(ITextView, Boolean) Creates or reuses an existing scroll map for the specified ITextView.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import] 
IScrollMapFactoryService factory = null;

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace