VsTextBufferCoordinatorClass::SetBufferMappingModes Method (UInt32, UInt32)

 

Establishes the mapping modes for both primary and secondary buffers.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public:
virtual int SetBufferMappingModes(
	unsigned int bcmmPrimary,
	unsigned int bcmmSecondary
)

Parameters

bcmmPrimary
Type: System::UInt32

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

bcmmSecondary
Type: System::UInt32

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

Return Value

Type: System::Int32

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

Return to top
Show: