ArcObjects Library Reference (DataSourcesRaster)  

IRasterTypeDataSourceHandler.CanOpen Method

Indicates whether a valid raster type is available in the specified collection that's capable of opening the given data source and returns a collection of all such valid raster types. This method uses RasterTypeEnvironment.GlobalSensorRasterTypes collection if

[Visual Basic .NET]
Public Function CanOpen ( _
    ByVal pParameters As IRasterTypeDataSourceHandlerParameters _
) As IArray
[C#]
public IArray CanOpen (
    IRasterTypeDataSourceHandlerParameters pParameters
);
[C++]
HRESULT CanOpen(
  IRasterTypeDataSourceHandlerParameters* pParameters,
  IArray** ppEligibleRasterTypes
);
[C++]

Parameters

pParameters [in]

  pParameters is a parameter of type IRasterTypeDataSourceHandlerParameters

ppEligibleRasterTypes [out, retval]

  ppEligibleRasterTypes is a parameter of type IArray

Product Availability

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

See Also

IRasterTypeDataSourceHandler Interface