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

IRasterServiceHelper.OpenFromFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterServiceHelper Interface > IRasterServiceHelper.OpenFromFile Method
ArcGIS Developer Help

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
public IRasterDataset OpenFromFile (
    string urlString
HRESULT OpenFromFile(
  BSTR urlString
urlString [in]

urlString is a parameter of type BSTR

Product Availability

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

See Also

IRasterServiceHelper Interface