Click or drag to resize

ObjectIdEquals Method (Object)

Compares this ObjectId to another object.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
The other object.

Return Value

Type: Boolean
True if the other object is an ObjectId and equal to this one.
See Also