NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox.SaveFile (Stream, RichTextBoxStreamType)

Saves the contents of a RichTextBox control to a file.

[Visual Basic]
Overloads Public Sub SaveFile( _
   ByVal data As Stream, _
   ByVal fileType As RichTextBoxStreamType _
)
[C#]
public void SaveFile(
   Stream data,
   RichTextBoxStreamType fileType
);
[C++]
public: void SaveFile(
   Stream* data,
   RichTextBoxStreamType fileType
);
[JScript]
public function SaveFile(
   data : Stream,
   fileType : RichTextBoxStreamType
);

Parameters

data
file to save to
fileType
One of the values from RichTextBoxStreamType.

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace | RichTextBox.SaveFile Overload List