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


IBitwiseOp.And Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IB > IBitwiseOp Interface > IBitwiseOp.And Method
ArcGIS Developer Help

IBitwiseOp.And Method

Performs a bitwise 'and' operation on the binary value of two input GeoDatasets.

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

geoDataset1 is a parameter of type IGeoDataset* geoDataset2 [in]
geoDataset2 is a parameter of type IGeoDataset*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

variable

an output reference to a Raster object

geoDataset1 the first input integer or floating-point Raster, RasterDataset, RasterBand, or RasterDescriptor
geoDataset2 the second input integer or floating-point Raster, RasterDataset, RasterBand, or RasterDescriptor

 

See Also

IBitwiseOp Interface