VsTextManagerClass Class
Provides general services for anyone wanting information about the active text views. See IVsTextManager.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsTextManagerClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")> _
Public Class VsTextManagerClass _
Implements IVsTextManager, VsTextManager
[ClassInterfaceAttribute()]
[GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")]
public class VsTextManagerClass : IVsTextManager,
VsTextManager
[ClassInterfaceAttribute()]
[GuidAttribute(L"F5E7E71D-1401-11D1-883B-0000F87579D2")]
public ref class VsTextManagerClass : IVsTextManager,
VsTextManager
[<ClassInterfaceAttribute()>]
[<GuidAttribute("F5E7E71D-1401-11D1-883B-0000F87579D2")>]
type VsTextManagerClass =
class
interface IVsTextManager
interface VsTextManager
end
public class VsTextManagerClass implements IVsTextManager, VsTextManager
The VsTextManagerClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsTextManagerClass | Create a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
AdjustFileChangeIgnoreCount | Increases or decreases the ignore count for file changes. | |
AttemptToCheckOutBufferFromScc | Method information not provided. Do not use. | |
AttemptToCheckOutBufferFromScc2 | Attempts to check out a file from source code control. | |
CreateSelectionAction | Method information not provided. Do not use. | |
EnumBuffers | Enumerate text buffers. Not yet implemented. | |
EnumIndependentViews | Enumerates independent views. | |
EnumLanguageServices | Enumerates the registered language services ids. | |
EnumViews | Enumerates views that are provided with the core editor and are associated with a particular text buffer. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetActiveView | Returns the active or previously active view. | |
GetBufferSccStatus | Method information not provided. Do not use. | |
GetBufferSccStatus2 | Returns information on whether a buffer is under source code control and, if so, whether the file is checked in. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMarkerTypeCount | Returns the number of registered marker types within all buffers associated with the core text editor. | |
GetMarkerTypeInterface | Maps a numeric marker type ID to an interface that can be used to probe for specific information. | |
GetPerLanguagePreferences | Method information not provided. Do not use. | |
GetRegisteredMarkerTypeID | Returns a registered marker type. | |
GetShortcutManager | Returns the shortcut manager. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserPreferences | Returns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service. | |
IgnoreNextFileChange | Notifies that the next file change is to be ignored. | |
MapFilenameToLanguageSID | Given a file name, determines the registered language service, if one exists, that understands it. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NavigateToLineAndColumn | Finds or creates an appropriate view on the specified buffer and places the selection at the specified location. | |
NavigateToPosition | Finds or creates an appropriate view on the specified buffer and puts the selection on the specified linear position. | |
RegisterBuffer | Registers a text buffer with the text manager. | |
RegisterIndependentView | Registers a view from a source other than the core editor. | |
RegisterView | Method information not provided. Do not use. | |
SetFileChangeAdvise | Method information not provided. Do not use. | |
SetPerLanguagePreferences | Method information not provided. Do not use. | |
SetUserPreferences | Sets user preferences. | |
SuspendFileChangeAdvise | Suspends file change notifications for a given file. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnregisterBuffer | Unregisters a buffer. | |
UnregisterIndependentView | Unregisters an externally-created view. | |
UnregisterView | Method information not provided. Do not use. |
Top
Remarks
You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.