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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax public static IElementNameValidator ForUpdateType(
UpdateType updateType
)
Public Shared Function ForUpdateType (
updateType As UpdateType
) As IElementNameValidator
static member ForUpdateType :
updateType : UpdateType -> IElementNameValidator
Parameters
- updateType
- Type: MongoDB.Driver.Core.OperationsUpdateType
Type of the update.
Return Value
Type:
IElementNameValidatorAn element name validator.
See Also