This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer3 Interface > IImageServer3.GetFile Method (ArcObjects .NET 10.5 SDK) |
Get the URL to a given download result.
[Visual Basic .NET] Public Function GetFile ( _ ByVal pFile As IImageServerDownloadResult _ ) As String
[C#] public string GetFile ( IImageServerDownloadResult pFile );
[C++]
HRESULT GetFile(
IImageServerDownloadResult* pFile,
BSTR* pURL
);
[C++]
Parameters pFile [in]
pFile is a parameter of type IImageServerDownloadResult pURL [out, retval] pURL is a parameter of type BSTR
GetFile() prepares a downloadable file that is only known to the image service and returns a public URL (e.g. http:// or ftp://).