IVsCodeWindowEvents.OnNewView(IVsTextView) 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 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
);