ToolWindow.DocData Property
Gets a document in memory.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public ReadOnly Property DocData As DocData
public DocData DocData { get; }
public:
property DocData^ DocData {
DocData^ get ();
}
member DocData : DocData with get
function get DocData () : DocData
Property Value
Type: Microsoft.VisualStudio.Modeling.Shell.DocData
The document in memory.
Remarks
This class implements IVsPersistDocData2, which you can use to load and save documents. If a user changes a document, this class prompts the user to reload the document.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.