IVsTextManagerEvents2.OnRegisterView(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.
Fired when a view is registered.
public:
int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
public:
int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView);
public int OnRegisterView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView);
abstract member OnRegisterView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
Public Function OnRegisterView (pView As IVsTextView) As Integer
Parameters
- pView
- IVsTextView
[in] Pointer to the IVsTextView interface identifying the view that was registered.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr2.idl:
void IVsTextManagerEvents2::OnRegisterView(
[in] IVsTextView *pView
);
Use notification from this method to determine when another client has registered a view.