ESRI.ArcGIS.ADF.Web
SetContentType(String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web Namespace > MimeData Class > SetContentType Method : SetContentType(String) Method




imageName
Name of the image including file extension.
Sets the MimeData's ContentType by examining the image name.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetContentType( _
   ByVal imageName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As MimeData
Dim imageName As String
 
instance.SetContentType(imageName)
C# 
public void SetContentType( 
   string imageName
)

Parameters

imageName
Name of the image including file extension.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.