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
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.
Permissions
- 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.