LumiSoft Net Help
SetDataFromFile Method (file, transferEncoding)
NamespacesLumiSoft.Net.MIMEMIME_b_SinglepartBaseSetDataFromFile(String, String)
Sets body data from the specified file.
Declaration Syntax
C#Visual BasicVisual 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 
Parameters
file (String)
File name with optional path.
transferEncoding (String)
Specifies content-transfer-encoding to use to encode data.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when file is null reference.
InvalidOperationExceptionIs 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