다음을 통해 공유


IVsTextManagerEvents2.OnRegisterView(IVsTextView) Method

Definition

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.

Applies to