IVsContainedLanguageHostEvents.OnViewChange(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.
Called when the view has changed.
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
Parameters
- fTextView
- Int32
[in] Nonzero (TRUE) if the view is text-based; otherwise, zero (FALSE), the view is graphical (typically a designer window).
Returns
Should always return S_OK (the return value is typically ignored by the contained language host).
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT OnViewChange(
[in] BOOL fTextView
);