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