Fetches the document referred to by the DBRef.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll)
Syntax
| C# |
|---|
public virtual BsonDocument FetchDBRef( MongoDBRef dbRef ) |
| Visual Basic |
|---|
Public Overridable Function FetchDBRef ( _ dbRef As MongoDBRef _ ) As BsonDocument |
| Visual C++ |
|---|
public: virtual BsonDocument^ FetchDBRef( MongoDBRef^ dbRef ) |
Parameters
- dbRef
- Type: MongoDB.Driver..::..MongoDBRef
The MongoDBRef to fetch.