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 _
)
'使用
Dim docData As DocData
Dim instance As New DocDataTextReader(docData)
public DocDataTextReader(
DocData docData
)
public:
DocDataTextReader(
DocData^ docData
)
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.
Permissions
- 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.