Partilhar via


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

'Declaração
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

  • 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

See Also

Reference

ModelingEditorFactory Class

CreateDocData Overload

Microsoft.VisualStudio.Modeling.Shell Namespace