IVsContainedLanguageHostEvents::OnViewChange Method (Int32)

 

Called when the view has changed.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int OnViewChange(
	int fTextView
)

Parameters

fTextView
Type: System::Int32

[in] Nonzero (TRUE) if the view is text-based; otherwise, zero (FALSE), the view is graphical (typically a designer window).

Return Value

Type: System::Int32

Should always return S_OK (the return value is typically ignored by the contained language host).

From singlefileeditor.idl:

HRESULT OnViewChange(
   [in] BOOL fTextView
);
Return to top
Show: