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
'Declaration
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
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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.