IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the view selection and caret can map to the underlying text buffer.
public:
int GetCanCaretAndSelectionMapToSurfaceBuffer([Runtime::InteropServices::Out] int % pbCanMap);
int GetCanCaretAndSelectionMapToSurfaceBuffer([Runtime::InteropServices::Out] int & pbCanMap);
public int GetCanCaretAndSelectionMapToSurfaceBuffer (out int pbCanMap);
abstract member GetCanCaretAndSelectionMapToSurfaceBuffer : int -> int
Public Function GetCanCaretAndSelectionMapToSurfaceBuffer (ByRef pbCanMap As Integer) As Integer
Parameters
- pbCanMap
- Int32
[out] Value is true if the selection and caret can map to the underlying text buffer; otherwise, false.
Returns
Returns S_OK if the method is successful; otherwise, returns an error code.