다음을 통해 공유


ToolWindow.OnDocumentWindowChanged(ModelingDocView, ModelingDocView) Method

Definition

Derived classes can override this to receive notification when the document window changes in the shell. The new view is stored in the CurrentView property.

protected:
 virtual void OnDocumentWindowChanged(Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ oldView, Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ newView);
protected virtual void OnDocumentWindowChanged (Microsoft.VisualStudio.Modeling.Shell.ModelingDocView oldView, Microsoft.VisualStudio.Modeling.Shell.ModelingDocView newView);
abstract member OnDocumentWindowChanged : Microsoft.VisualStudio.Modeling.Shell.ModelingDocView * Microsoft.VisualStudio.Modeling.Shell.ModelingDocView -> unit
override this.OnDocumentWindowChanged : Microsoft.VisualStudio.Modeling.Shell.ModelingDocView * Microsoft.VisualStudio.Modeling.Shell.ModelingDocView -> unit
Protected Overridable Sub OnDocumentWindowChanged (oldView As ModelingDocView, newView As ModelingDocView)

Parameters

oldView
ModelingDocView
newView
ModelingDocView

Applies to