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


IRasterTypeDataSourceHandler.CanOpen Method (ArcObjects .NET 10.5 SDK)
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 all sensor raster types if IRasterTypeDataSourceHandlerPara

[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