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.4.1
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