Represents a document in memory that is backed by an in-memory store (IMS).
The ModelingDocData type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ModelingDocData | Initializes a new instance of the ModelingDocData class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddErrorListItem | Adds an error or warning message that you can use with the document. |
![]() |
BackupFile | (Inherited from DocData.) |
![]() |
CanSave | Verifies whether the user can cancel the save operation. (Inherited from DocData.) |
![]() |
CleanupStores | Clears the modeling designer stores before a document is reloaded into memory. |
![]() |
ClearErrorListItems | Clears the error and warning messages from the Error List window. |
![]() |
Close | Closes the document. (Inherited from DocData.) |
![]() |
CreateModelingDocStore | Creates a document for the modeling designer store. |
![]() |
CreateObject | |
![]() |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() |
CreateStore | Creates a modeling store. |
![]() |
DirectoryChanged | Not currently implemented. (Inherited from DocData.) |
![]() |
Dispose | Releases the unmanaged resources used by the ModelingDocData and optionally releases the managed resources. (Overrides DocData.Dispose(Boolean).) |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
FilesChanged | Notifies clients that one or more documents changed. (Inherited from DocData.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FlushUndoManager | Clears the UndoManager class for the store. (Overrides DocData.FlushUndoManager().) |
![]() |
GetClassID | Gets the GUID of the editor factory that created the document. (Inherited from DocData.) |
![]() |
GetCurFile | Gets the file name of the document. (Inherited from DocData.) |
![]() |
GetData | Gets the document data from a buffer. (Inherited from DocData.) |
![]() |
GetDomainModels | Gets a collection of SubStore() types to be loaded into the store. |
![]() |
GetFormatList | Gets the list of supported document formats. (Inherited from DocData.) |
![]() |
GetGuidEditorType | Gets the GUID of the editor factory that created the IVsPersistDocData object. (Inherited from DocData.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
GetTextBuffer | |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
HandleLoadDocDataException | Manages any exceptions that were thrown when the document was loading. (Inherited from DocData.) |
![]() |
HandleSaveDocDataException | Manages any exceptions that were thrown when the document was saving. (Inherited from DocData.) |
![]() |
HideErrorListItems | Hides all error and warning messages that are in the Error List window. |
![]() |
IgnoreFileChanges | Determines whether changes to the document should be ignored. (Inherited from DocData.) |
![]() |
Initialize | Overloaded. Initializes the ModelingDocData class. |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
InitNew | Initializes the document. (Inherited from DocData.) |
![]() |
IsDirty | Verifies whether the document changed after the most recent save operation. (Inherited from DocData.) |
![]() |
IsDocDataDirty | Verifies whether the document changed after the most recent save operation. (Inherited from DocData.) |
![]() |
IsDocDataReadOnly | Verifies whether the document is read-only. (Inherited from DocData.) |
![]() |
IsDocDataReloadable | Verifies whether the document can be reloaded. (Inherited from DocData.) |
![]() |
Load | Overloaded. |
![]() |
LoadDocData | Overloaded. |
![]() |
LockTextBuffer | |
![]() |
MarkDocumentChangedForBackup | (Inherited from DocData.) |
![]() |
MemberwiseClone | Overloaded. |
![]() |
OnDocumentClosed | (Overrides DocData.OnDocumentClosed(EventArgs).) |
![]() |
OnDocumentClosing | Alerts listeners that the document will be closed. (Inherited from DocData.) |
![]() |
OnDocumentLoaded | Alerts listeners that the document is loaded. (Inherited from DocData.) |
![]() |
OnDocumentLoading | Alerts listeners that the document will be loaded. (Inherited from DocData.) |
![]() |
OnDocumentReadOnlyChanged | Alerts listeners that the read-only state of the document has changed. (Inherited from DocData.) |
![]() |
OnDocumentReloaded | Alerts listeners that the document has been reloaded. (Inherited from DocData.) |
![]() |
OnDocumentReloading | Alerts listeners that the document will be reloaded. (Inherited from DocData.) |
![]() |
OnDocumentSaved | Alerts listeners that the document has been saved. (Inherited from DocData.) |
![]() |
OnDocumentSaving | Alerts listeners that the document will be saved. (Inherited from DocData.) |
![]() |
OnFileNameChanged | Alerts listeners that the file name of the document has changed. (Inherited from DocData.) |
![]() |
OnHierarchyChanged | Notifies the base class when a document is added or renamed. (Overrides DocData.OnHierarchyChanged(EventArgs).) |
![]() |
OnRegisterDocData | Assigns the document to a cookie and project hierarchy. (Inherited from DocData.) |
![]() |
OpenView | Opens a specific view for the document. (Overrides DocData.OpenView(Guid, Object).) |
![]() |
QueryEditFile | Overloaded. |
![]() |
QuerySaveFile | Overloaded. |
![]() |
ReloadDocData | Reloads the document. (Inherited from DocData.) |
![]() |
ReloadDocDataWorker | Reloads the document. (Inherited from DocData.) |
![]() |
RenameDocData | Renames a document and resets its position in the hierarchy. (Inherited from DocData.) |
![]() |
ResumeErrorListRefresh | Refreshes the Error List window every time that an error or warning message is added for the document. |
![]() |
ResumeFileChangeNotification | Resumes the distribution of document-change notifications for the document. (Inherited from DocData.) |
![]() |
Save | Overloaded. |
![]() |
SaveCompleted | Alerts listeners that the document has been saved. (Inherited from DocData.) |
![]() |
SaveDocData | Saves the document to a specific location. (Inherited from DocData.) |
![]() |
SaveSubordinateFile | (Inherited from DocData.) |
![]() |
SetData | Sets the document to a buffer. (Inherited from DocData.) |
![]() |
SetDocDataDirty | Sets the document's IsDirty flag. (Inherited from DocData.) |
![]() |
SetDocDataReadOnly | Sets the document's read-only flag. (Inherited from DocData.) |
![]() |
SetFileName | Initializes or changes the file name for the document. (Inherited from DocData.) |
![]() |
SetHierarchyInfo | Initializes or changes the project hierarchy for the document. (Inherited from DocData.) |
![]() |
SetRootElement | Sets the root element. |
![]() |
SetTextBuffer | |
![]() |
SetUntitledDocPath | Currently not implemented. (Inherited from DocData.) |
![]() |
ShowErrorListItems | Shows all error and warning messages in the Error List window. |
![]() |
ShowSaveOptionsDlg | Shows a dialog box from which the user can specify additional options for save formats. (Inherited from DocData.) |
![]() |
SupportsLogicalView | Verifies whether the document supports the specified view. |
![]() |
SuspendErrorListRefresh | Prevents the Error List window from refreshing. |
![]() |
SuspendFileChangeNotification | Suspends the distribution of document-change notifications for the document. (Inherited from DocData.) |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Cookie | Gets the cookie that identifies the document in the Running Documents table. (Inherited from DocData.) |
![]() |
DocViews | Gets the collection of document views that are open for the document. (Inherited from DocData.) |
![]() |
Encoding | Gets or sets the encoding that persists the document. (Inherited from DocData.) |
![]() |
ErrorListProvider | Gets the error list provider for the document. |
![]() |
FileName | Gets the file name of the document. (Inherited from DocData.) |
![]() |
FormatList | Gets a list of formats. (Inherited from DocData.) |
![]() |
HasErrorListItems | Gets the error list and verifies whether errors and warnings for the document appear in the Error List window. |
![]() |
Hierarchy | Gets the project hierarchy to which the document belongs. (Inherited from DocData.) |
![]() |
InLoad | Gets the document and verifies whether it is being loaded into the modeling window. |
![]() |
InReload | Gets the document and verifies whether it is being reloaded into the modeling window. |
![]() |
IsBackupFileObsolete | (Inherited from DocData.) |
![]() |
IsLoaded | Gets the document and verifies whether it is loaded. (Inherited from DocData.) |
![]() |
ItemId | Gets the Item ID that is assigned to the document. (Inherited from DocData.) |
![]() |
ModelingDocStore | Gets the modeling designer store that is assigned to the document. |
![]() |
RootElement | Gets the root element in the document. |
![]() |
SerializedModel | |
![]() |
ServiceProvider | Gets the service provider from the shell. (Inherited from DocData.) |
![]() |
Store | Gets the modeling designer store to which this document is assigned. |
![]() |
UndoManager | Gets the UndoManager class, which you can use to undo and redo operations in the modeling designer store. (Overrides DocData.UndoManager.) |
![]() |
UndoManagerIsShared | Gets the UndoManager class and verifies whether it is shared among documents. (Overrides DocData.UndoManagerIsShared.) |
![]() |
VSUndoManager | Gets the UndoManager interface. (Inherited from DocData.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
DocumentClosed | Occurs after the document is closed. (Inherited from DocData.) |
![]() |
DocumentClosing | Occurs before the document is closed. (Inherited from DocData.) |
![]() |
DocumentLoaded | Occurs after the document has been loaded in the modeling window. (Inherited from DocData.) |
![]() |
DocumentLoading | Occurs before the document is loaded in the modeling window. (Inherited from DocData.) |
![]() |
DocumentReadOnlyChanged | Occurs when the read-only flag for the document changes. (Inherited from DocData.) |
![]() |
DocumentReloaded | Occurs after the document is reloaded. (Inherited from DocData.) |
![]() |
DocumentReloading | Occurs before the document is reloaded. (Inherited from DocData.) |
![]() |
DocumentSaved | Occurs after the document is saved. (Inherited from DocData.) |
![]() |
DocumentSaving | Occurs before the document is saved. (Inherited from DocData.) |
![]() |
FileNameChanged | Occurs when the document's file name changes. (Inherited from DocData.) |
![]() |
HierarchyChanged | Occurs when the document's hierarchy or Item ID changes. (Inherited from DocData.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IVsFileBackup.BackupFile | (Inherited from DocData.) |
![]() ![]() |
IDisposable.Dispose | Releases all resources used by the current instance of the DocData class. (Inherited from DocData.) |
![]() ![]() |
IPersistFileFormat.GetClassID | (Inherited from DocData.) |
![]() ![]() |
IVsFileBackup.IsBackupFileObsolete | (Inherited from DocData.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)