Table of Contents

Method BitwiseOr

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

BitwiseOr(string, int)

Sets the named element to the bitwise or of its value with another value (see $bit with "or").

public static UpdateBuilder BitwiseOr(string name, int value)

Parameters

name string

The name of the element to be modified.

value int

The value to be or-ed with the current value.

Returns

UpdateBuilder

The builder (so method calls can be chained).

BitwiseOr(string, long)

Sets the named element to the bitwise or of its value with another value (see $bit with "or").

public static UpdateBuilder BitwiseOr(string name, long value)

Parameters

name string

The name of the element to be modified.

value long

The value to be or-ed with the current value.

Returns

UpdateBuilder

The builder (so method calls can be chained).