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


IExtractionOp.Attribute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IE > IExtractionOp Interface > IExtractionOp.Attribute Method
ArcGIS Developer Help

IExtractionOp.Attribute Method

Extracts the cells of a raster based on a logical query.

[Visual Basic .NET]
Public Function Attribute ( _
    ByVal Raster As IRasterDescriptor _
) As IGeoDataset
[C#]
public IGeoDataset Attribute (
    IRasterDescriptor Raster
);
[C++]
HRESULT Attribute(
  IRasterDescriptor* Raster
);
[C++]
Parameters
Raster [in]

Raster is a parameter of type IRasterDescriptor*

Product Availability

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

Remarks

raster

an input RasterDescriptor that was created by a logical expression based on the attributes in a Raster. Those cells for which the logical expression evaluated to True in the RasterDescriptor are selected. Those cells that are not selected will be set to NoData.

 

See Also

IExtractionOp Interface