Compartilhar via


IVsContainedLanguageHostEvents.OnViewChange(Int32) Method

Definition

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  
);  

Applies to