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.0.1
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