| IFluentAttachmentSetFileName Method |
Namespace:
Limilabs.Mail.Fluent
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax IFluentAttachment SetFileName(
string fileName,
bool guessContentType = false
)
Function SetFileName (
fileName As String,
Optional guessContentType As Boolean = false
) As IFluentAttachment
IFluentAttachment^ SetFileName(
String^ fileName,
bool guessContentType = false
)
abstract SetFileName :
fileName : string *
?guessContentType : bool
(* Defaults:
let _guessContentType = defaultArg guessContentType false
*)
-> IFluentAttachment
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:
IFluentAttachmentNewly added attachment.
See Also