ESRI.ArcGIS.ADF.Web
MimeData Constructor(Byte[],String)
See Also 
ESRI.ArcGIS.ADF.Web Namespace > MimeData Class > MimeData Constructor : MimeData Constructor(Byte[],String)




bytes
Image as byte array
contentType
Format of the image.
Constructor taking an image as byte array and the format of the image.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal bytes() As Byte, _
   ByVal contentType As String _
)
Visual Basic (Usage)Copy Code
Dim bytes() As Byte
Dim contentType As String
 
Dim instance As MimeData(bytes, contentType)
C# 
public MimeData( 
   byte[] bytes,
   string contentType
)

Parameters

bytes
Image as byte array
contentType
Format of the image.

See Also

© 2010 All Rights Reserved.