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
TDocumentThe type of the documents returned.
Clone<TDocument>(IBsonSerializer)
Creates a clone of the cursor.
public virtual MongoCursor<TDocument> Clone<TDocument>(IBsonSerializer serializer)
Parameters
serializerIBsonSerializerThe serializer to use.
Returns
- MongoCursor<TDocument>
A clone of the cursor.
Type Parameters
TDocumentThe type of the documents returned.
Clone(Type)
Creates a clone of the cursor.
public virtual MongoCursor Clone(Type documentType)
Parameters
documentTypeTypeThe 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
documentTypeTypeThe type of the documents returned.
serializerIBsonSerializerThe serializer to use.
Returns
- MongoCursor
A clone of the cursor.