Click or drag to resize
UpdateDefinitionBuilder<TDocument>.Unset Method (Expression<Func<TDocument, Object>>)
Creates an unset operator.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax
public UpdateDefinition<TDocument> Unset(
	Expression<Func<TDocument, Object>> field
)

Parameters

field
Type: System.Linq.Expressions.Expression<Func<TDocument, Object>>
The field.

Return Value

Type: UpdateDefinition<TDocument>
An unset operator.
See Also