Click or drag to resize

BsonObjectIdGeneratorIsEmpty Method

Tests whether an Id is empty.

Namespace:  MongoDB.Bson.Serialization.IdGenerators
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public bool IsEmpty(
	Object id
)

Parameters

id
Type: SystemObject
The Id.

Return Value

Type: Boolean
True if the Id is empty.

Implements

IIdGeneratorIsEmpty(Object)
See Also