Method Clone
Clone<TDocument>()
Creates a clone of the cursor.
public virtual MongoCursor<TDocument> Clone<TDocument>()
Returns
- MongoCursor<TDocument>
A clone of the cursor.
Type Parameters
TDocument
The type of the documents returned.
Clone<TDocument>(IBsonSerializer)
Creates a clone of the cursor.
public virtual MongoCursor<TDocument> Clone<TDocument>(IBsonSerializer serializer)
Parameters
serializer
IBsonSerializerThe serializer to use.
Returns
- MongoCursor<TDocument>
A clone of the cursor.
Type Parameters
TDocument
The type of the documents returned.
Clone(Type)
Creates a clone of the cursor.
public virtual MongoCursor Clone(Type documentType)
Parameters
documentType
TypeThe type of the documents returned.
Returns
- MongoCursor
A clone of the cursor.
Clone(Type, IBsonSerializer)
Creates a clone of the cursor.
public virtual MongoCursor Clone(Type documentType, IBsonSerializer serializer)
Parameters
documentType
TypeThe type of the documents returned.
serializer
IBsonSerializerThe serializer to use.
Returns
- MongoCursor
A clone of the cursor.