Click or drag to resize

MongoDBRef Methods

The MongoDBRef type exposes the following members.

Public methodEquals(Object)
Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value.
(Overrides ObjectEquals(Object).)
Public methodEquals(MongoDBRef)
Determines whether this instance and another specified MongoDBRef object have the same value.
Public methodStatic memberEquals(MongoDBRef, MongoDBRef)
Determines whether two specified MongoDBRef objects have the same value.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this MongoDBRef object.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representation of the value.
(Overrides ObjectToString.)
Extension Methods
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
See Also