VNoteWriteToStream(TextWriter) Method
This can be used to write a vNote to a PDI data stream
Namespace: EWSoftware.PDI.ObjectsAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public void WriteToStream(
TextWriter tw
)
Public Sub WriteToStream (
tw As TextWriter
)
public:
void WriteToStream(
TextWriter^ tw
)
member WriteToStream :
tw : TextWriter -> unit
Parameters
- tw TextWriter
- A TextWriter derived class to which the vNote is written.
This is called by
ToString as well as owning objects when they convert
themselves to a string or write themselves to a PDI data stream.
// Create a vNote
VNote vn = new VNote();
vn.Summary.Value = "A brief note";
vn.Body.Value = "This is just a brief note to say hello";
// Open the file and write the vNote to it
StreamWriter sw = new StreamWriter(@"C:\BriefNote.vnt");
vn.WriteToStream(sw);
sw.Close();
' Create a vNote
Dim vn As New VNote()
vn.Summary.Value = "A brief note"
vn.Body.Value = "This is just a brief note to say hello"
' Open the file and write the vNote to it
Dim sw As New StreamWriter("C:\BriefNote.vnt")
vn.WriteToStream(sw)
sw.Close()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.