BaseDocData Members
Include Protected Members
Include Inherited Members
The base class for all the document data.
The BaseDocData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BaseDocData | Initializes a new instance of the BaseDocData class. |
Top
Methods
Name | Description | |
---|---|---|
AdviseFileChange | Subscribes or unsubscribes for notification on file changes, as specified. | |
BackupFile | Persists the data to a single file. | |
Dispose | Overloaded. Disposes of managed and unmanaged resources. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNewAndUnsaved | Returns whether the property on the node item is new and unsaved. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsBackupFileObsolete | Sets or clears the backup dirty flag. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyDocChanged | Sends a notification that the document has changed through the running document table. | |
OnClose | Raises the Closing event and then deletes the file if it was a new, temporary file. | |
OnClosing | Raises the Closing event, which indicates the document is being closed. | |
OnDirectoryChanged | Does nothing. | |
OnFileChanged | Raises the FileChanged event, which indicates that the file has changed. | |
OnFilesChanged | Raises the FileChanged event for each open file changed. | |
OnGetClassID | Called to obtain the class ID. | |
OnGetCurFile | Called to get current file information. | |
OnGetFormatList | Called to get the format list. | |
OnGetGuidEditorType | Called to get the editor type GUID. | |
OnHandleRegisterDocData | Handles the IVsPersistDocData.OnReigsterDocData call, so derived classes can override it. | |
OnIgnoreFileChanges | Called by the shell to notify whether a file change must be ignored. | |
OnInitNew | Called on new document initialization. | |
OnIsDirty | Called to get whether document data is dirty. | |
OnIsDocDataDirty | Called to get whether document data is dirty. | |
OnIsDocDataReloadable | Called to get whether document data is reloadable. | |
OnLoad | Called when loading a file. | |
OnLoadDocData | Called when loading document data. | |
OnLoaded | Raises the Loaded event, which indicates the file has been loaded. | |
OnLoadHelper | Helps the load action. | |
OnReloadDocData | Called on reloading the document data. | |
OnRenameDocData | Renames the document data. | |
OnSave | Called when the document is saving. | |
OnSaveCompleted | Called when save is completed. | |
OnSaved | Raises the Saved event, which indicates the file has been saved. | |
OnSaveDocData | Called when the file is to be saved. | |
OnSaveFinished | Raises the SaveFinished event, which indicates the save process has completed. | |
OnSaveHelper | Helps during the save action. | |
OnSetUntitledDocPath | Called to set the untitled document path. | |
SetNewAndUnsaved | Sets the property on the node item that specifies whether it is unsaved and new. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
Cookie | Gets the cookie we were registered with. | |
Dirty | Gets or sets whether this data is dirty. | |
DocExtension | Gets the document extension. | |
DocGuid | Gets the document GUID. | |
FileName | Gets or sets the name of the file. | |
FileReloading | Gets or sets whether the file is loading. | |
IsDocSaved | Gets or sets the flag indicating the document has been saved. | |
OwningHierarchy | Gets the hierarchy that owns this document. | |
OwningItemId | Gets the item id of this document. | |
UntitledPath | Gets or sets the path for new, untitled documents. |
Top
Events
Name | Description | |
---|---|---|
Closing | Represents the document closing. | |
FileChanged | Represents the file having changed. | |
Loaded | Represents the document having loaded. | |
Saved | Represents the document having been saved. | |
SaveFinished | Represents the save action having finished. |
Top
Explicit Interface Implementations
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace