Sdílet prostřednictvím


VsTextBufferCoordinatorClass.SetBufferMappingModes(UInt32, UInt32) Method

Definition

Establishes the mapping modes for both primary and secondary buffers.

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

Parameters

bcmmPrimary
UInt32

[in] A combination of flags from the _BufferCoordinatorMappingMode enumeration that specifies the mapping modes for the primary buffer.

bcmmSecondary
UInt32

[in] A combination of flags from the _BufferCoordinatorMappingMode enumeration that specifies the mapping modes for the secondary buffer.

Returns

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

Implements

Applies to