Partager via


IVsTextManagerEvents2.OnRegisterView Method

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)

Syntax

'Déclaration
Function OnRegisterView ( _
    pView As IVsTextView _
) As Integer
int OnRegisterView(
    IVsTextView pView
)
int OnRegisterView(
    [InAttribute] IVsTextView^ pView
)
abstract OnRegisterView : 
        pView:IVsTextView -> int 
function OnRegisterView(
    pView : IVsTextView
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsTextManagerEvents2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace