Udostępnij za pośrednictwem


IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer(Int32) Method

Definition

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.

Applies to