This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IE > IExtractionOp2 Interface > IExtractionOp2.Attribute Method (ArcObjects .NET 10.4 SDK) |
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,
IGeoDataset** outGeodataset
);
[C++]
Parameters Raster [in]
Raster is a parameter of type IRasterDescriptor outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset
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. |