Show / Hide Table of Contents

Method Mask

Mask(BooleanFieldFunction)

Composes a function that applies a mask to this function's field result.

Declaration
public DiscreteFieldFunction Mask(BooleanFieldFunction selection)
Parameters
Type Name Description
BooleanFieldFunction selection

A selection.

Returns
Type Description
DiscreteFieldFunction

A function that applies a mask to this function's field result.

Remarks

Where the selection is true, values from this function's field result are preserved. Where the selection is false, the field has no data. The function result has no data where this function's field result or the selection has no data.

The function result extent is the intersection of this function's field result and the selection.

The spatial reference of this function's field result and the selection must be equivalent.

Applies to

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