Click or drag to resize

UpdateBuilder<TDocument>.Mul Method (Expression<Func<TDocument, Int32>>, Int32)

Multiplies the named element by a value (see $mul).

Namespace:  MongoDB.Driver.Builders
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public UpdateBuilder<TDocument> Mul(
	Expression<Func<TDocument, int>> memberExpression,
	int value
)

Parameters

memberExpression
Type: System.Linq.Expressions.Expression<Func<TDocument, Int32>>
The member expression.
value
Type: System.Int32
The value to multiply by.

Return Value

Type: UpdateBuilder<TDocument>
The builder (so method calls can be chained).
See Also