DocDataTextWriter Constructor (DocData^, Boolean)
Visual Studio 2015
Initializes a new instance of DocDataTextWriter for the specified doc data, and determines whether or not to dispose the doc data object when this instance is closed or disposed.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- disposeDocData
-
Type:
System::Boolean
If true, this instance should dispose the doc data when it is closed or disposed.
docData must implement IVsTextStream or an exception will be thrown. When this object is either disposed or closed, it will call Dispose on the underlying docData if disposeDocData is true. The default value for disposeDocData is false.
Show: