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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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