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 );
Exception Type | Condition |
---|---|
Exception | System.Exception When error occurs during file load operation. |
RichTextBox Class | RichTextBox Members | System.WinForms Namespace | RichTextBox.LoadFile Overload List