DocDataTextWriter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DocDataTextWriter(DocData) |
Initializes a new instance of DocDataTextWriter for the given doc data. |
DocDataTextWriter(DocData, Boolean) |
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. |
DocDataTextWriter(DocData)
Initializes a new instance of DocDataTextWriter for the given doc data.
public:
DocDataTextWriter(Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ docData);
public DocDataTextWriter (Microsoft.VisualStudio.Shell.Design.Serialization.DocData docData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextWriter : Microsoft.VisualStudio.Shell.Design.Serialization.DocData -> Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextWriter
Public Sub New (docData As DocData)
Parameters
Applies to
DocDataTextWriter(DocData, Boolean)
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.
public:
DocDataTextWriter(Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ docData, bool disposeDocData);
public DocDataTextWriter (Microsoft.VisualStudio.Shell.Design.Serialization.DocData docData, bool disposeDocData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextWriter : Microsoft.VisualStudio.Shell.Design.Serialization.DocData * bool -> Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextWriter
Public Sub New (docData As DocData, disposeDocData As Boolean)
Parameters
- disposeDocData
- Boolean
If true
, this instance should dispose the doc data when it is closed or disposed.