ESRI.ArcGIS.ADF.Web
GetMimeUrl(String,Int32,Boolean,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web Namespace > MimeData Class > GetMimeUrl Method : GetMimeUrl(String,Int32,Boolean,Boolean) Method




mimeID
the id used to store the mime image in session
cacheTimeInMinutes
Amount of time used by the cache object
randomize
randomize
removeFromSession
Remove this object from session only after the image was retrieved.
Get a URL that represents this image using MIME Data Handler

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetMimeUrl( _
   ByVal mimeID As String, _
   ByVal cacheTimeInMinutes As Integer, _
   ByVal randomize As Boolean, _
   ByVal removeFromSession As Boolean _
) As String
Visual Basic (Usage)Copy Code
Dim mimeID As String
Dim cacheTimeInMinutes As Integer
Dim randomize As Boolean
Dim removeFromSession As Boolean
Dim value As String
 
value = MimeData.GetMimeUrl(mimeID, cacheTimeInMinutes, randomize, removeFromSession)
C# 
public static string GetMimeUrl( 
   string mimeID,
   int cacheTimeInMinutes,
   bool randomize,
   bool removeFromSession
)

Parameters

mimeID
the id used to store the mime image in session
cacheTimeInMinutes
Amount of time used by the cache object
randomize
randomize
removeFromSession
Remove this object from session only after the image was retrieved.

Return Value

A url representing the object in session state.

See Also

© 2010 All Rights Reserved.