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

IRasterDataset.OpenFromFile Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDataset Interface > IRasterDataset.OpenFromFile Method
ArcGIS Developer Help

IRasterDataset.OpenFromFile Method

Attaches dataset to a particular file.

[Visual Basic .NET]
Public Sub OpenFromFile ( _
    ByVal Path As String _
public void OpenFromFile (
    string Path
HRESULT OpenFromFile(
  BSTR Path
Path [in]

Path is a parameter of type BSTR

Product Availability

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

See Also

IRasterDataset Interface