Compartilhar via


LanguagePreferences.OnRegisterView(IVsTextView) Method

Definition

Called when a view is registered.

public:
 virtual int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view);
public:
 virtual int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view);
 virtual int OnRegisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & view);
public virtual int OnRegisterView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view);
abstract member OnRegisterView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
override this.OnRegisterView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
Public Overridable Function OnRegisterView (view As IVsTextView) As Integer

Parameters

view
IVsTextView

[in] An IVsTextView interface representing the view that has been registered.

Returns

Implements

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 Microsoft.VisualStudio.TextManager.Interop.IVsTextManagerEvents2.OnRegisterView.

The base method does nothing.

Applies to