共用方式為


ModelingDocView(ModelingDocData, IServiceProvider) Constructor

Definition

Create a new view, given a DocData.

protected:
 ModelingDocView(Microsoft::VisualStudio::Modeling::Shell::ModelingDocData ^ docData, IServiceProvider ^ serviceProvider);
protected ModelingDocView (Microsoft.VisualStudio.Modeling.Shell.ModelingDocData docData, IServiceProvider serviceProvider);
new Microsoft.VisualStudio.Modeling.Shell.ModelingDocView : Microsoft.VisualStudio.Modeling.Shell.ModelingDocData * IServiceProvider -> Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
Protected Sub New (docData As ModelingDocData, serviceProvider As IServiceProvider)

Parameters

docData
ModelingDocData

Document this is a view of.

serviceProvider
IServiceProvider

serviceProvider used to get shell services.

Applies to