Table of Contents

Method SetWrapped

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

SetWrapped<T>(string, T)

Sets the value of the named element to a new wrapped value (see $set).

public UpdateBuilder SetWrapped<T>(string name, T value)

Parameters

name string

The name of the element to be set.

value T

The new wrapped value.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Type Parameters

T

The type of wrapped value.