Click or drag to resize

ReplacementElementNameValidatorGetValidatorForChildContent 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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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