Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Public Overridable Function EnableReplication ( _
bcrd As UInteger, _
fEnable As Integer _
) As Integer
public virtual int EnableReplication(
uint bcrd,
int fEnable
)
public:
virtual int EnableReplication(
[InAttribute] unsigned int bcrd,
[InAttribute] int fEnable
)
abstract EnableReplication :
bcrd:uint32 *
fEnable:int -> int
override EnableReplication :
bcrd:uint32 *
fEnable:int -> int
public function EnableReplication(
bcrd : uint,
fEnable : int
) : int
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.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsTextBufferCoordinator.EnableReplication(UInt32, Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.