Click or drag to resize

CollectionElementNameValidatorIsValidElementName Method

Determines whether the element name is valid.

Namespace:  MongoDB.Driver.Core.Operations.ElementNameValidators
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public bool IsValidElementName(
	string elementName
)

Parameters

elementName
Type: SystemString
The name of the element.

Return Value

Type: Boolean
True if the element name is valid.

Implements

IElementNameValidatorIsValidElementName(String)
See Also