IVsTextManagerEvents2::OnRegisterView Method (IVsTextView^)

 

Fired when a view is registered.

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

int OnRegisterView(
	IVsTextView^ pView
)

Parameters

pView
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] Pointer to the IVsTextView interface identifying the view that was registered. 

Return Value

Type: System::Int32

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

From textmgr2.idl:

void IVsTextManagerEvents2::OnRegisterView(
   [in] IVsTextView *pView
);

Use notification from this method to determine when another client has registered a view.

Return to top
Show: