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 命名空间