Click or drag to resize
Json.NET

BsonWriterWriteRegex Method

 
Writes a BSON regex.

Namespace:  Newtonsoft.Json.Bson
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public void WriteRegex(
	string pattern,
	string options
)

Parameters

pattern
Type: SystemString
The regex pattern.
options
Type: SystemString
The regex options.
See Also