Method BitwiseAnd
BitwiseAnd(string, int)
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
public static UpdateBuilder BitwiseAnd(string name, int value)
Parameters
name
stringThe name of the element to be modified.
value
intThe value to be and-ed with the current value.
Returns
- UpdateBuilder
The builder (so method calls can be chained).
BitwiseAnd(string, long)
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
public static UpdateBuilder BitwiseAnd(string name, long value)
Parameters
name
stringThe name of the element to be modified.
value
longThe value to be and-ed with the current value.
Returns
- UpdateBuilder
The builder (so method calls can be chained).