PowerTCP Mail for .NET
FileName Property (Attachment)




Gets and sets ContentDisposition.FileName and ContentType.Name.
Syntax
Public Property FileName As String
Dim instance As Attachment
Dim value As String
 
instance.FileName = value
 
value = instance.FileName
public string FileName {get; set;}
public: __property string* get_FileName();
public: __property void set_FileName( 
   string* value
);
public:
property String^ FileName {
   String^ get();
   void set (    String^ value);
}
Remarks
Returns ContentType.Name if ContentDisposition.FileName is null or empty.
See Also

Reference

Attachment Class
Attachment Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic