Partilhar via


Método IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer

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 (em Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

Sintaxe

'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

Parâmetros

  • pbCanMap
    Tipo: Int32%

    [out] Value is true if the selection and caret can map to the underlying text buffer; otherwise, false.

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

IVsTextView3 Interface

Namespace Microsoft.VisualStudio.TextManager.Interop