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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.