Share via


DocDataTextReader Constructor (DocData)

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

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Sub New ( _
    docData As DocData _
)
public DocDataTextReader(
    DocData docData
)
public:
DocDataTextReader(
    DocData^ docData
)
new : 
        docData:DocData -> DocDataTextReader
public function DocDataTextReader(
    docData : DocData
)

Parameters

Remarks

The docData must implement IVsTextStream or an exception will be thrown. When this object is either disposed or closed, it will not by default call Dispose on the underlying doc data object.

.NET Framework Security

See Also

Reference

DocDataTextReader Class

DocDataTextReader Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace