ESRI.ArcGIS.ADF.IMS
Extract(String,String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Extractor Class > Extract Method : Extract(String,String) Method




physicalDirectory
virtualDirectory
Gets a Uri to a zip file containing the layers in the shapefile format.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Extract( _
   ByVal physicalDirectory As String, _
   ByVal virtualDirectory As String _
) As Uri
Visual Basic (Usage)Copy Code
Dim instance As Extractor
Dim physicalDirectory As String
Dim virtualDirectory As String
Dim value As Uri
 
value = instance.Extract(physicalDirectory, virtualDirectory)
C# 
public Uri Extract( 
   string physicalDirectory,
   string virtualDirectory
)

Parameters

physicalDirectory
virtualDirectory

Return Value

Uri of zipped data. Use its AbsoluteUri to retrieve the URL of the file.

Example

Remarks

By default, extraction occurs to the default output location defined for the map service. This method extracts to a specific location. In order for the Uri of the extracted file to be valid, the physical directory and virtual directory must point to the same location. For issues with specifying physical and virtual directories, see ImageDescriptor.VirtualDirectory.

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.