ModelingEditorFactory.CreateDocData Method (String, IVsHierarchy, UInt32)
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
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.StringThe name of the document.
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy that is assigned to the document.
itemId
Type: System.UInt32The 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.