MongoCollectionFindOneByIdAs Method

Overload List
 NameDescription
Public methodFindOneByIdAsTDocument(BsonValue)
Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument.
Public methodFindOneByIdAs(Type, BsonValue)
Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument.
Top
See Also

Reference