Click or drag to resize

MongoCollection.FindOneByIdAs Method

Overload List
  NameDescription
Public methodFindOneByIdAs<TDocument>(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