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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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