This document is archived and information here might be outdated.  Recommended version.


IRasterServiceHelper.OpenFromFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterServiceHelper.OpenFromFile Method

Creates a raster dataset given an Image Service Reference file.

[Visual Basic .NET]
Public Function OpenFromFile ( _
    ByVal urlString As String _
) As IRasterDataset
[C#]
public IRasterDataset OpenFromFile (
    string urlString
);
[C++]
HRESULT OpenFromFile(
  BSTR urlString,
  IRasterDataset** ppDataset
);
[C++]

Parameters urlString [in] urlString is a parameter of type BSTR ppDataset [out, retval]
ppDataset is a parameter of type IRasterDataset

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterServiceHelper Interface