LanguagePreferences.OnRegisterView Method

Called when a view is registered.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Overridable Function OnRegisterView ( _
    view As IVsTextView _
) As Integer
'使用
Dim instance As LanguagePreferences
Dim view As IVsTextView
Dim returnValue As Integer

returnValue = instance.OnRegisterView(view)
public virtual int OnRegisterView(
    IVsTextView view
)
public:
virtual int OnRegisterView(
    IVsTextView^ view
)
public function OnRegisterView(
    view : IVsTextView
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsTextManagerEvents2.OnRegisterView(IVsTextView)

Remarks

This method is called when a view has been created. A language service typically does not need to implement this method.

This method is an implementation of IVsTextManagerEvents2.OnRegisterView.

The base method does nothing.

Permissions

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace