ModelingEditorFactory.CreateDocData Method (String, IVsHierarchy, UInt32)
Creates a document in memory.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Public MustOverride Function CreateDocData ( _
fileName As String, _
hierarchy As IVsHierarchy, _
itemId As UInteger _
) As ModelingDocData
public abstract ModelingDocData CreateDocData(
string fileName,
IVsHierarchy hierarchy,
uint itemId
)
public:
virtual ModelingDocData^ CreateDocData(
String^ fileName,
IVsHierarchy^ hierarchy,
unsigned int itemId
) abstract
abstract CreateDocData :
fileName:string *
hierarchy:IVsHierarchy *
itemId:uint32 -> ModelingDocData
public abstract function CreateDocData(
fileName : String,
hierarchy : IVsHierarchy,
itemId : uint
) : ModelingDocData
Parameters
- fileName
Type: System.String
The name of the document.
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy that is assigned to the document.
- itemId
Type: System.UInt32
The ID that is assigned to the document.
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocData
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.