Click or drag to resize

UpdateElementNameValidatorGetValidatorForChildContent Method

Gets the validator to use for child content (a nested document or array).

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 IElementNameValidator GetValidatorForChildContent(
	string elementName
)

Parameters

elementName
Type: SystemString
The name of the element.

Return Value

Type: IElementNameValidator
The validator to use for child content.

Implements

IElementNameValidatorGetValidatorForChildContent(String)
See Also