LanguagePreferences.OnRegisterView(IVsTextView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当注册视图时调用。
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
参数
- view
- IVsTextView
中 IVsTextView 表示已注册的视图的接口。
返回
实现
注解
创建视图后,将调用此方法。 语言服务通常不需要实现此方法。
此方法是的实现 Microsoft.VisualStudio.TextManager.Interop.IVsTextManagerEvents2.OnRegisterView 。
基本方法不执行任何操作。