IVsTextBufferCoordinator::EnableReplication Method (UInt32, Int32)
Visual Studio 2015
Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- bcrd
-
Type:
System::UInt32
[in] A value from the BufferCoordinatorReplicationDirection enumeration describing the direction of replication to be enabled/disabled.
- fEnable
-
Type:
System::Int32
[in] Nonzero (TRUE) to enable replication in the specified direction; otherwise, zero (FALSE) to disable replication.
From singlefileeditor.idl:
HRESULT EnableReplication( [in] DWORD bcrd, [in] BOOL fEnable );
Although the default direction of primary to secondary is enabled when the buffer coordinator object is created, do not assume a particular direction is enabled or disabled. Only one direction can be enabled at a time (that is, the directions are typically mutually exclusive).
Show: