MongoDatabaseFetchDBRef Method MongoDB C# Driver API Documentation
Fetches the document referred to by the DBRef.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: { version: '1.10.0.62', semver: '1.10.0', commit: '2df664a15859899b9bb0a457e237ec32c7d31e48', commitDate: '2015-01-29 15:41:46' }
Syntax

public virtual BsonDocument FetchDBRef(
	MongoDBRef dbRef
)

Parameters

dbRef
Type: MongoDB.DriverMongoDBRef
The MongoDBRef to fetch.

Return Value

Type: BsonDocument
A BsonDocument (or null if the document was not found).
See Also

Reference