ModelingEditorFactory.CreateDocView Method
Creates a document in memory.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected MustOverride Function CreateDocView ( _
docData As ModelingDocData, _
physicalView As String, _
<OutAttribute> ByRef editorCaption As String _
) As ModelingDocView
protected abstract ModelingDocView CreateDocView(
ModelingDocData docData,
string physicalView,
out string editorCaption
)
protected:
virtual ModelingDocView^ CreateDocView(
ModelingDocData^ docData,
String^ physicalView,
[OutAttribute] String^% editorCaption
) abstract
abstract CreateDocView :
docData:ModelingDocData *
physicalView:string *
editorCaption:string byref -> ModelingDocView
protected abstract function CreateDocView(
docData : ModelingDocData,
physicalView : String,
editorCaption : String
) : ModelingDocView
Parameters
docData
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocDataThe document for which the view is being created.
physicalView
Type: System.StringThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.