Creates attachment(application/octet-stream) entity.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public static MIME_Entity CreateEntity_Attachment( string fileName )
Public Shared Function CreateEntity_Attachment ( fileName As String ) As MIME_Entity
public: static MIME_Entity^ CreateEntity_Attachment( String^ fileName )
static member CreateEntity_Attachment : fileName : string -> MIME_Entity
![](../icons/collapse_all.gif)
- fileName (String)
- File name with path.
![](../icons/collapse_all.gif)
MIME_Entity
Returns created entity.
Returns created entity.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | Is raised when fileName is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119