IElementNameValidatorGetValidatorForChildContent Method |
Gets the validator to use for child content (a nested document or array).
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax IElementNameValidator GetValidatorForChildContent(
string elementName
)
Function GetValidatorForChildContent (
elementName As String
) As IElementNameValidator
abstract GetValidatorForChildContent :
elementName : string -> IElementNameValidator
Parameters
- elementName
- Type: SystemString
The name of the element.
Return Value
Type:
IElementNameValidatorThe validator to use for child content.
See Also