Partager via


ModelingEditorFactory.CreateDocData Method

Include Protected Members
Include Inherited Members

Creates a document in memory.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method CreateDocData() Creates a document in memory.
Public method CreateDocData(String, IVsHierarchy, UInt32) Creates a document in memory.

Top

Remarks

Derived classes should override this method to create a document instance.

The DocData object is the in-memory representation of data in a document. DocData manages an instance of Store, which contains domain model data for the generated designer of a domain-specific language. DocData also implements the IVsPersistDocData2 interface, which Visual Studio uses to communicate with the document.

You can override this class to create a document that is specific to the modeling editor.

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace