Table of Contents

Operator implicit operator

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

implicit operator SearchQueryDefinition(string)

Performs an implicit conversion from a string to SearchQueryDefinition.

public static implicit operator SearchQueryDefinition(string query)

Parameters

query string

The string.

Returns

SearchQueryDefinition

The result of the conversion.

implicit operator SearchQueryDefinition(string[])

Performs an implicit conversion from an array of strings to SearchQueryDefinition.

public static implicit operator SearchQueryDefinition(string[] queries)

Parameters

queries string[]

The array of strings.

Returns

SearchQueryDefinition

The result of the conversion.

implicit operator SearchQueryDefinition(List<string>)

Performs an implicit conversion from a list of strings to SearchQueryDefinition.

public static implicit operator SearchQueryDefinition(List<string> queries)

Parameters

queries List<string>

The list of strings.

Returns

SearchQueryDefinition

The result of the conversion.