Compartilhar via


DocDataTextReader Constructors

Definition

Overloads

DocDataTextReader(DocData)

Initializes a new instance of DocDataTextReader for the given doc data.

DocDataTextReader(DocData, Boolean)

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.

DocDataTextReader(DocData)

Initializes a new instance of DocDataTextReader for the given doc data.

public:
 DocDataTextReader(Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ docData);
public DocDataTextReader (Microsoft.VisualStudio.Shell.Design.Serialization.DocData docData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader : Microsoft.VisualStudio.Shell.Design.Serialization.DocData -> Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader
Public Sub New (docData As DocData)

Parameters

docData
DocData

The DocData.

Applies to

DocDataTextReader(DocData, Boolean)

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.

public:
 DocDataTextReader(Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ docData, bool disposeDocData);
public DocDataTextReader (Microsoft.VisualStudio.Shell.Design.Serialization.DocData docData, bool disposeDocData);
new Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader : Microsoft.VisualStudio.Shell.Design.Serialization.DocData * bool -> Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader
Public Sub New (docData As DocData, disposeDocData As Boolean)

Parameters

docData
DocData

The DocData that the DocDataTextReader reads.

disposeDocData
Boolean

If true, Dispose() will be called on the underlying docData.

Applies to