DocDataTextWriter Constructor (DocData)
Initializes a new instance of DocDataTextWriter 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 DocDataTextWriter(docData)
public DocDataTextWriter(
DocData docData
)
public:
DocDataTextWriter(
DocData^ docData
)
new :
docData:DocData -> DocDataTextWriter
public function DocDataTextWriter(
docData : DocData
)
Parameters
- docData
Type: Microsoft.VisualStudio.Shell.Design.Serialization.DocData
DocData.
Remarks
docData must implement IVsTextStream or an exception will be thrown.
.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.