Table of Contents

Method GetValidatorForChildContent

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.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.