# ExcelPivotSourceUpdateOptionsFluent

The fluent methods of ExcelPivotSourceUpdateOptions, generated from its public properties: A property-named method sets a property and a singular-named method…

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelPivotSourceUpdateOptions](/api/excel/officeimo-excel-excelpivotsourceupdateoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ExcelPivotSourceUpdateOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelPivotSourceUpdateOptions AllowSharedCacheUpdate(ExcelPivotSourceUpdateOptions excelPivotSourceUpdateOptions, bool value = true)` [#](#method-allowsharedcacheupdate-officeimo-excel-excelpivotsourceupdateoptions-boolean)

Sets [ExcelPivotSourceUpdateOptions.AllowSharedCacheUpdate](/api/excel/officeimo-excel-excelpivotsourceupdateoptions/): When true, a cache shared by multiple pivot tables may be updated. All affected pivots are returned in the result.

Parameters

**excelPivotSourceUpdateOptions OfficeIMO.Excel.ExcelPivotSourceUpdateOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelPivotSourceUpdateOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelPivotSourceUpdateOptions { AllowSharedCacheUpdate = value };    excelPivotSourceUpdateOptions.AllowSharedCacheUpdate(value);
```

`public static ExcelPivotSourceUpdateOptions RequireMatchingHeaders(ExcelPivotSourceUpdateOptions excelPivotSourceUpdateOptions, bool value = true)` [#](#method-requirematchingheaders-officeimo-excel-excelpivotsourceupdateoptions-boolean)

Sets [ExcelPivotSourceUpdateOptions.RequireMatchingHeaders](/api/excel/officeimo-excel-excelpivotsourceupdateoptions/): When true, the new source header names must match the existing pivot cache database fields. Field count must always remain stable because this operation does not rebuild pivot field definitions.

Parameters

**excelPivotSourceUpdateOptions OfficeIMO.Excel.ExcelPivotSourceUpdateOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelPivotSourceUpdateOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelPivotSourceUpdateOptions { RequireMatchingHeaders = value };    excelPivotSourceUpdateOptions.RequireMatchingHeaders(value);
```

## 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?`

<!-- PowerForge markdown artifact sha256:89E4613E907104943C1728E303B60A740BAF151DB61A38A9052C8FE65C6232C8 -->
