When overridden in a derived class, represents a document in memory.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
Public MustInherit Class DocData _
Inherits MarshalByRefObject _
Implements IVsPersistDocData2, IVsPersistDocData, IVsFileChangeEvents, IVsDocDataFileChangeControl, _
IPersistFileFormat, IPersist, IDisposable, IVsSaveOptionsDlg, IVsUserData, _
IVsFileBackup
'使用
Dim instance As DocData
[CLSCompliantAttribute(false)]
public abstract class DocData : MarshalByRefObject, IVsPersistDocData2,
IVsPersistDocData, IVsFileChangeEvents, IVsDocDataFileChangeControl, IPersistFileFormat, IPersist,
IDisposable, IVsSaveOptionsDlg, IVsUserData, IVsFileBackup
[CLSCompliantAttribute(false)]
public ref class DocData abstract : public MarshalByRefObject,
IVsPersistDocData2, IVsPersistDocData, IVsFileChangeEvents, IVsDocDataFileChangeControl, IPersistFileFormat,
IPersist, IDisposable, IVsSaveOptionsDlg, IVsUserData, IVsFileBackup
public abstract class DocData extends MarshalByRefObject implements IVsPersistDocData2, IVsPersistDocData, IVsFileChangeEvents, IVsDocDataFileChangeControl, IPersistFileFormat, IPersist, IDisposable, IVsSaveOptionsDlg, IVsUserData, IVsFileBackup
Remarks
This class also listens to change events for external documents and can prompt the user to reload the document.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.VisualStudio.Modeling.Shell.DocData
Microsoft.VisualStudio.Modeling.Shell.SubordinateDocData
Microsoft.VisualStudio.Modeling.Shell.ModelingDocData
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.