ModelingEditorFactory.CreateDocView Method

Creates a document in memory.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected MustOverride Function CreateDocView ( _
    docData As ModelingDocData, _
    physicalView As String, _
    <OutAttribute> ByRef editorCaption As String _
) As ModelingDocView
'使用
Dim docData As ModelingDocData
Dim physicalView As String
Dim editorCaption As String
Dim returnValue As ModelingDocView

returnValue = Me.CreateDocView(docData, _
    physicalView, editorCaption)
protected abstract ModelingDocView CreateDocView(
    ModelingDocData docData,
    string physicalView,
    out string editorCaption
)
protected:
virtual ModelingDocView^ CreateDocView(
    ModelingDocData^ docData, 
    String^ physicalView, 
    [OutAttribute] String^% editorCaption
) abstract
protected abstract function CreateDocView(
    docData : ModelingDocData, 
    physicalView : String, 
    editorCaption : String
) : ModelingDocView

Parameters

  • physicalView
    Type: System.String

    The information that is particular to this view.

  • editorCaption
    Type: System.String%

    The text that appears next to the document name on the document's tab.

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocView

The document in memory.

Permissions

See Also

Reference

ModelingEditorFactory Class

ModelingEditorFactory Members

Microsoft.VisualStudio.Modeling.Shell Namespace