Click or drag to resize

ElementNameValidatorFactoryForUpdateType Method

Returns an element name validator for the update type.

Namespace:  MongoDB.Driver.Core.Operations.ElementNameValidators
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public static IElementNameValidator ForUpdateType(
	UpdateType updateType
)

Parameters

updateType
Type: MongoDB.Driver.Core.OperationsUpdateType
Type of the update.

Return Value

Type: IElementNameValidator
An element name validator.
See Also