FindOneAndReplaceOptionsTDocument, TProjection Class | 
Namespace: MongoDB.Driver
The FindOneAndReplaceOptionsTDocument, TProjection type exposes the following members.
| Name | Description | |
|---|---|---|
| FindOneAndReplaceOptionsTDocument, TProjection | 
            Initializes a new instance of the FindOneAndReplaceOptionsTDocument, TProjection class.
              | 
| Name | Description | |
|---|---|---|
| BypassDocumentValidation | 
            Gets or sets a value indicating whether to bypass document validation.
              | |
| Collation | 
            Gets or sets the collation.
              | |
| IsUpsert | 
            Gets or sets a value indicating whether to insert the document if it doesn't already exist.
              | |
| MaxTime | 
            Gets or sets the maximum time.
              | |
| Projection | 
            Gets or sets the projection.
              | |
| ReturnDocument | 
            Gets or sets which version of the document to return.
              | |
| Sort | 
            Gets or sets the sort.
              | 
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) | 
| Name | Description | |
|---|---|---|
| ToBson | 
            Serializes an object to a BSON byte array.
              (Defined by BsonExtensionMethods.) | |
| ToBsonDocument | 
            Serializes an object to a BsonDocument.
              (Defined by BsonExtensionMethods.) | |
| ToJson | 
            Serializes an object to a JSON string.
              (Defined by BsonExtensionMethods.) |