Compartilhar via


IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer Method

Determines whether the view selection and caret can map to the underlying text buffer.

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

Syntax

'Declaração
Function GetCanCaretAndSelectionMapToSurfaceBuffer ( _
    <OutAttribute> ByRef pbCanMap As Integer _
) As Integer
int GetCanCaretAndSelectionMapToSurfaceBuffer(
    out int pbCanMap
)
int GetCanCaretAndSelectionMapToSurfaceBuffer(
    [OutAttribute] int% pbCanMap
)
abstract GetCanCaretAndSelectionMapToSurfaceBuffer : 
        pbCanMap:int byref -> int 
function GetCanCaretAndSelectionMapToSurfaceBuffer(
    pbCanMap : int
) : int

Parameters

  • pbCanMap
    Type: System.Int32%
    [out] Value is true if the selection and caret can map to the underlying text buffer; otherwise, false.

Return Value

Type: System.Int32
Returns S_OK if the method is successful; otherwise, returns an error code.

.NET Framework Security

See Also

Reference

IVsTextView3 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace