VsTextBufferCoordinatorClass Class
Provides mapping services between two buffers. See IVsTextBufferCoordinator.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TextManager.Interop.VsTextBufferCoordinatorClass
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
<GuidAttribute("3E77FA94-526F-4233-BF81-B2B0329A62B9")> _
<ClassInterfaceAttribute()> _
Public Class VsTextBufferCoordinatorClass _
Implements IVsTextBufferCoordinator, VsTextBufferCoordinator
[GuidAttribute("3E77FA94-526F-4233-BF81-B2B0329A62B9")]
[ClassInterfaceAttribute()]
public class VsTextBufferCoordinatorClass : IVsTextBufferCoordinator,
VsTextBufferCoordinator
[GuidAttribute(L"3E77FA94-526F-4233-BF81-B2B0329A62B9")]
[ClassInterfaceAttribute()]
public ref class VsTextBufferCoordinatorClass : IVsTextBufferCoordinator,
VsTextBufferCoordinator
[<GuidAttribute("3E77FA94-526F-4233-BF81-B2B0329A62B9")>]
[<ClassInterfaceAttribute()>]
type VsTextBufferCoordinatorClass =
class
interface IVsTextBufferCoordinator
interface VsTextBufferCoordinator
end
public class VsTextBufferCoordinatorClass implements IVsTextBufferCoordinator, VsTextBufferCoordinator
The VsTextBufferCoordinatorClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsTextBufferCoordinatorClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
EnableReplication | Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary. | |
EnumSpans | Returns a list of span mappings controlled by the buffer coordinator object. | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMappingOfPrimaryPosition | Maps the specified position in the primary buffer to the span in the secondary buffer. | |
GetPrimaryBuffer | Returns the primary language buffer. | |
GetSecondaryBuffer | Returns the secondary language buffer. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MapPrimaryToSecondarySpan | Maps the specified position in the primary buffer to a position in the secondary buffer. | |
MapSecondaryToPrimarySpan | Maps the specified position in the secondary buffer to a position in the primary buffer. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetBufferMappingModes | Establishes the mapping modes for both primary and secondary buffers. | |
SetBuffers | Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object. | |
SetSpanMappings | Establishes the list of mappings between the primary and secondary buffers. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.