BsonObjectIdGeneratorIsEmpty Method |
Tests whether an Id is empty.
Namespace:
MongoDB.Bson.Serialization.IdGenerators
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public bool IsEmpty(
Object id
)
Public Function IsEmpty (
id As Object
) As Boolean
abstract IsEmpty :
id : Object -> bool
override IsEmpty :
id : Object -> bool
Parameters
- id
- Type: SystemObject
The Id.
Return Value
Type:
BooleanTrue if the Id is empty.
Implements
IIdGeneratorIsEmpty(Object)See Also