IVsCodeWindowEvents.OnNewView(IVsTextView) Method

Definition

Called when a view has just been created.

public:
 int OnNewView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
public:
 int OnNewView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
int OnNewView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView);
public int OnNewView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView);
abstract member OnNewView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
Public Function OnNewView (pView As IVsTextView) As Integer

Parameters

pView
IVsTextView

[in] The IVsTextView object representing the view that has been created.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindowEvents::OnNewView(  
   [in] IVsTextView *pView  
);  

Applies to