Click or drag to resize
ObjectIdGeneratorIsEmpty Method
Tests whether an Id is empty.

Namespace: MongoDB.Bson.Serialization.IdGenerators
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
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