VsTextBufferCoordinatorClass.EnableReplication(UInt32, Int32) Method

Definition

Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary.

public:
 virtual int EnableReplication(System::UInt32 bcrd, int fEnable) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator::EnableReplication;
public:
 virtual int EnableReplication(System::UInt32 bcrd, int fEnable);
public:
 virtual int EnableReplication(unsigned int bcrd, int fEnable) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator::EnableReplication;
 virtual int EnableReplication(unsigned int bcrd, int fEnable);
public virtual int EnableReplication (uint bcrd, int fEnable);
abstract member EnableReplication : uint32 * int -> int
override this.EnableReplication : uint32 * int -> int
Public Overridable Function EnableReplication (bcrd As UInteger, fEnable As Integer) As Integer

Parameters

bcrd
UInt32

[in] A value from the BufferCoordinatorReplicationDirection enumeration describing the direction of replication to be enabled/disabled.

fEnable
Int32

[in] Nonzero (TRUE) to enable replication in the specified direction; otherwise, zero (FALSE) to disable replication.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Applies to