Show / Hide Table of Contents

Method ToDiscreteFieldFunction

ToDiscreteFieldFunction()

Composes a function that casts, point-wise, boolean values from this function's field result to integer values across its extent.

Declaration
public DiscreteFieldFunction ToDiscreteFieldFunction()
Returns
Type Description
DiscreteFieldFunction

A function that casts boolean values from this function's field result to integer values.

Remarks

Boolean values of true and false become 1 and 0, respectively. The function result has no data where this function's field result has no data.

The function result extent equals that of this function's field result.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.