共用方式為


ModelingEditorFactory.CreateDocView(ModelingDocData, String, String) Method

Definition

Derived classes can override to create a new instance of a DocView of the specified kind.

protected:
 abstract Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ CreateDocView(Microsoft::VisualStudio::Modeling::Shell::ModelingDocData ^ docData, System::String ^ physicalView, [Runtime::InteropServices::Out] System::String ^ % editorCaption);
protected abstract Microsoft.VisualStudio.Modeling.Shell.ModelingDocView CreateDocView (Microsoft.VisualStudio.Modeling.Shell.ModelingDocData docData, string physicalView, out string editorCaption);
abstract member CreateDocView : Microsoft.VisualStudio.Modeling.Shell.ModelingDocData * string * string -> Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
Protected MustOverride Function CreateDocView (docData As ModelingDocData, physicalView As String, ByRef editorCaption As String) As ModelingDocView

Parameters

docData
ModelingDocData

DocData this view is being created for

physicalView
String

String containing extra information particular to this instance of the view

editorCaption
String

text such as [code] that appears next to the file name on the document tab

Returns

Applies to