다음을 통해 공유


IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer 메서드

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

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop.11.0(Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

구문

‘선언
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

매개 변수

  • pbCanMap
    형식: Int32%

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

반환 값

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

.NET Framework 보안

참고 항목

참조

IVsTextView3 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스