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
docData
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocDataThe DocData.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.