# GoogleDocsReplaceOptions

Collaboration policy for replacing an existing Google document.

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsSaveOptions.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsSaveOptions.cs#L103)

**Modifiers**

sealed

Collaboration policy for replacing an existing Google document.

## Inheritance

- object
- GoogleDocsReplaceOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [GoogleDocsSaveOptions.Replace](/api/word-google-docs/officeimo-word-googledocs-googledocssaveoptions/#property-replace)

Filter members 

Show inherited

## Constructors

`public GoogleDocsReplaceOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public GoogleDocsRevisionConflictMode ConflictMode { get; set; }` [#](#property-conflictmode)

[GoogleDocsSaveOptions.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsSaveOptions.cs#L103)

Gets or sets the conflict mode; defaults to requiring an exact revision.

`public string? ExpectedRevisionId { get; set; }` [#](#property-expectedrevisionid)

[GoogleDocsSaveOptions.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsSaveOptions.cs#L105)

Gets or sets the revision observed during an earlier read or import.

<!-- PowerForge markdown artifact sha256:9ADC2D06BF5DF11B51DADE37B7EB64938F9D238C25E4895D3837A3A39F633DFC -->
