Click or drag to resize

BsonObjectIdGenerator.IsEmpty Method

Tests whether an Id is empty.

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

Parameters

id
Type: System.Object
The Id.

Return Value

Type: Boolean
True if the Id is empty.

Implements

IIdGenerator.IsEmpty(Object)
See Also