| MimeDataSetFileName Method |
Namespace:
Limilabs.Mail.MIME
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public void SetFileName(
string fileName,
bool guessContentType = false
)
Public Sub SetFileName (
fileName As String,
Optional guessContentType As Boolean = false
)
public:
void SetFileName(
String^ fileName,
bool guessContentType = false
)
member SetFileName :
fileName : string *
?guessContentType : bool
(* Defaults:
let _guessContentType = defaultArg guessContentType false
*)
-> unit
Parameters
- fileName
- Type: SystemString
Suggested file name. - guessContentType (Optional)
- Type: SystemBoolean
True if ContentType should be set based on the file name extension.
Return Value
Type:
Newly added attachment.
See Also