IVsTextView3.GetCanCaretAndSelectionMapToSurfaceBuffer(Int32) 方法

定义

确定视图选择和插入符号是否可以映射到基础文本缓冲区。

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

参数

pbCanMap
Int32

弄如果选择和插入符号可以映射到基础文本缓冲区,则值为 true;否则为 false。

返回

Int32

S_OK如果方法成功,则返回; 否则返回错误代码。

适用于