Table of Contents

Constructor StringOrRegularExpression

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

StringOrRegularExpression(string)

Initializes an instance of a StringOrRegularExpression.

public StringOrRegularExpression(string value)

Parameters

value string

A string value.

StringOrRegularExpression(BsonRegularExpression)

Initializes an instance of a StringOrRegularExpression.

public StringOrRegularExpression(BsonRegularExpression value)

Parameters

value BsonRegularExpression

A BsonRegularExpression value.