ArcObjects Library Reference (GeoAnalyst)  

IMathSupportOp.Minus Method

Subtracts the values of two inputs.

[Visual Basic .NET]
Public Function Minus ( _
    ByVal geoDataset1 As IGeoDataset, _
    ByVal geoDataset2 As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset Minus (
    IGeoDataset geoDataset1,
    IGeoDataset geoDataset2
);
[C++]
HRESULT Minus(
  IGeoDataset* geoDataset1,
  IGeoDataset* geoDataset2,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters

geoDataset1 [in]

  geoDataset1 is a parameter of type IGeoDataset

geoDataset2 [in]

  geoDataset2 is a parameter of type IGeoDataset

outGeoDataset [out, retval]

  outGeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

geoDataset1

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

geoDataset2

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

See Also

IMathSupportOp Interface