Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VsTextBufferCoordinatorClass Class

Provides mapping services between two buffers. See IVsTextBufferCoordinator.

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)

[GuidAttribute("3E77FA94-526F-4233-BF81-B2B0329A62B9")]
[ClassInterfaceAttribute()]
public class VsTextBufferCoordinatorClass : IVsTextBufferCoordinator, 
	VsTextBufferCoordinator

The VsTextBufferCoordinatorClass type exposes the following members.

  NameDescription
Public methodVsTextBufferCoordinatorClassCreates a new instance of the class.
Top

  NameDescription
Public methodEnableReplicationEnables replication from primary to secondary buffer and replication from the secondary buffer to the primary.
Public methodEnumSpansReturns a list of span mappings controlled by the buffer coordinator object.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetMappingOfPrimaryPositionMaps the specified position in the primary buffer to the span in the secondary buffer.
Public methodGetPrimaryBufferReturns the primary language buffer.
Public methodGetSecondaryBufferReturns the secondary language buffer.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMapPrimaryToSecondarySpanMaps the specified position in the primary buffer to a position in the secondary buffer.
Public methodMapSecondaryToPrimarySpanMaps the specified position in the secondary buffer to a position in the primary buffer.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBufferMappingModesEstablishes the mapping modes for both primary and secondary buffers.
Public methodSetBuffersEstablishes the primary and secondary buffers that are to be managed by the buffer coordinator object.
Public methodSetSpanMappingsEstablishes the list of mappings between the primary and secondary buffers.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft