Show / Hide Table of Contents

Method Add

Add(int)

Composes a function that adds, point-wise, a value to this function's field result across its extent.

Declaration
public DiscreteFieldFunction Add(int value)
Parameters
Type Name Description
int value

The value to add across the field.

Returns
Type Description
DiscreteFieldFunction

A function that adds a value to this function's field result.

Remarks

The result has no value where this field has no value.

The result extent equals that of this field.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

Add(DiscreteFieldFunction)

Composes a function that adds, point-wise, this function's field result and another across their spatial intersection.

Declaration
public DiscreteFieldFunction Add(DiscreteFieldFunction otherField)
Parameters
Type Name Description
DiscreteFieldFunction otherField

Another integer scalar field.

Returns
Type Description
DiscreteFieldFunction

A function that adds this function's field result and another.

Remarks

The result has no value where either of the given fields has no value.

The result extent is the intersection of the extents of the given fields.

The spatial reference of both fields 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.