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
'宣言
Public Sub New ( _
docData As DocData _
)
public DocDataTextReader(
DocData docData
)
Parameters
- docData
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
The 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.