Sets body data from the specified file.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void SetDataFromFile( string file, string transferEncoding )
Public Sub SetDataFromFile ( file As String, transferEncoding As String )
public: void SetDataFromFile( String^ file, String^ transferEncoding )
member SetDataFromFile : file : string * transferEncoding : string -> unit
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when file is null reference. |
InvalidOperationException | Is raised when this method is accessed and this body is not bounded to any entity. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119