VsTextBufferCoordinatorClass.SetBufferMappingModes Method
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)
Syntax
'Declaración
Public Overridable Function SetBufferMappingModes ( _
bcmmPrimary As UInteger, _
bcmmSecondary As UInteger _
) As Integer
public virtual int SetBufferMappingModes(
uint bcmmPrimary,
uint bcmmSecondary
)
public:
virtual int SetBufferMappingModes(
[InAttribute] unsigned int bcmmPrimary,
[InAttribute] unsigned int bcmmSecondary
)
abstract SetBufferMappingModes :
bcmmPrimary:uint32 *
bcmmSecondary:uint32 -> int
override SetBufferMappingModes :
bcmmPrimary:uint32 *
bcmmSecondary:uint32 -> int
public function SetBufferMappingModes(
bcmmPrimary : uint,
bcmmSecondary : uint
) : int
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.
Implements
IVsTextBufferCoordinator.SetBufferMappingModes(UInt32, UInt32)
.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.