Table of Contents

Method GetValidatorForChildContent

Namespace
MongoDB.Driver.Core.Operations.ElementNameValidators
Assembly
MongoDB.Driver.dll

GetValidatorForChildContent(string)

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

public IElementNameValidator GetValidatorForChildContent(string elementName)

Parameters

elementName string

The name of the element.

Returns

IElementNameValidator

The validator to use for child content.