Partager via


IVsTextManager2 Interface

Provides additional methods to the IVsTextManager interface.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("072A28FD-1AF3-48AF-9C85-C79404DBA30C")> _
Public Interface IVsTextManager2
[InterfaceTypeAttribute()]
[GuidAttribute("072A28FD-1AF3-48AF-9C85-C79404DBA30C")]
public interface IVsTextManager2
[InterfaceTypeAttribute()]
[GuidAttribute(L"072A28FD-1AF3-48AF-9C85-C79404DBA30C")]
public interface class IVsTextManager2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("072A28FD-1AF3-48AF-9C85-C79404DBA30C")>]
type IVsTextManager2 =  interface end
public interface IVsTextManager2

The IVsTextManager2 type exposes the following members.

Methods

  Name Description
Public method AttemptToCheckOutBufferFromScc3 Attempts to check a file out of SCC.
Public method FireReplaceAllInFilesBegin Fires this event when Replace All, In Files operation is started.
Public method FireReplaceAllInFilesEnd Fires this event when Replace All, In Files operation ends.
Public method GetActiveView2 Returns the active or previously active view.
Public method GetBufferSccStatus3 Determines whether a file is under SCC, and if so, attempts to check it out.
Public method GetExpansionManager Gets the expansion manager.
Public method GetUserPreferences2 Returns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service.
Public method NavigateToLineAndColumn2 Finds or creates an appropriate view on the specified buffer and places the selection at the specified location.
Public method NavigateToPosition2 Moves to the specified position.
Public method ResetColorableItems Resets the colorable items.
Public method SetUserPreferences2 Sets user preferences.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace