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


IGpDispatch.ListRasters Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.ListRasters Method

Returns a collection of rasters in the current workspace based on a query string and type.

[Visual Basic .NET]
Public Function ListRasters ( _
    [ByRef wildCard As Object], _
    [ByRef RasterType As Object] _
) As Object
[C#]
public object ListRasters (
    ref object wildCard,
    ref object RasterType
);
[C#]

Optional Values

wildCard   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
RasterType   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ListRasters(
  VARIANT* wildCard,
  VARIANT* RasterType,
  IDispatch** ppEnumList
);
[C++]

Parameters wildCard [optional] wildCard is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. RasterType [optional] RasterType is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. ppEnumList [out, retval] ppEnumList is a parameter of type IDispatch*

Product Availability

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

See Also

IGpDispatch Interface