IVsContainedLanguageHostEvents.OnViewChange(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
视图已更改时调用。
public:
int OnViewChange(int fTextView);
public:
int OnViewChange(int fTextView);
int OnViewChange(int fTextView);
public int OnViewChange (int fTextView);
abstract member OnViewChange : int -> int
Public Function OnViewChange (fTextView As Integer) As Integer
参数
- fTextView
- Int32
中如果视图是基于文本的,则为非零 (TRUE) ;否则,零 (FALSE) ,视图 (通常是设计器窗口) 的图形化。
返回
应始终返回 S_OK (返回值通常被包含的语言宿主) 忽略。
注解
COM 签名
从 singlefileeditor:
HRESULT OnViewChange(
[in] BOOL fTextView
);