FormDataCollectionAdd Method (String, Stream, String, String) |
Adds an image to the collection specifying the filename.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Add(
string fieldName,
Stream data,
string fileName,
string contextType
)
Public Sub Add (
fieldName As String,
data As Stream,
fileName As String,
contextType As String
)
Parameters
- fieldName
- Type: SystemString
The form field name used to identify this image. - data
- Type: System.IOStream
The data stream - fileName
- Type: SystemString
The original filename of this image. - contextType
- Type: SystemString
Also known as mime type, for example "image\jpeg".
See Also