Method Exists

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Exists(TField)

Tests whether a field exists.

public static bool Exists<TField>(TField field)

Parameters

field TField

The field.

Returns

bool

true if the field exists.

Type Parameters

TField

The type of the field.