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.LoadFile (String)

Loads the contents of the given RTF or text file into a RichTextBox control.

[Visual Basic]
Overloads Public Sub LoadFile( _
   ByVal path As String _
)
[C#]
public void LoadFile(
   string path
);
[C++]
public: void LoadFile(
   String* path
);
[JScript]
public function LoadFile(
   path : String
);

Parameters

path
location of the file

Exceptions

Exception Type Condition
Exception System.Exception When error occurs during file load operation.

See Also

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