Freigeben über


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

'Declaration
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

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBufferCoordinator.SetBufferMappingModes(UInt32, UInt32)

.NET Framework Security

See Also

Reference

VsTextBufferCoordinatorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace