# WordHeaderFooterFluent

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordHeaderFooter](/api/word/officeimo-word-wordheaderfooter/), 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
- WordHeaderFooterFluent

Filter members 

Show inherited

## Methods

`public static TSelf Fields<TSelf>(TSelf wordHeaderFooter, IEnumerable<WordField> items)` [#](#method-fields-collections-generic-ienumerable-officeimo-word-wordfield)

Adds items to [WordHeaderFooter.Fields](/api/word/officeimo-word-wordheaderfooter/): Gets the fields contained in the header or footer.

Type Parameters

**TSelf**

Parameters

**wordHeaderFooter TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordField> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Field<TSelf>(TSelf wordHeaderFooter, WordField item)` [#](#method-field-officeimo-word-wordfield)

Adds an item to [WordHeaderFooter.Fields](/api/word/officeimo-word-wordheaderfooter/): Gets the fields contained in the header or footer.

Type Parameters

**TSelf**

Parameters

**wordHeaderFooter TSelf required**

The instance.

**item OfficeIMO.Word.WordField required**

The item.

Returns

`TSelf` The same instance.

`public static TSelf Paragraphs<TSelf>(TSelf wordHeaderFooter, IEnumerable<WordParagraph> items)` [#](#method-paragraphs-collections-generic-ienumerable-officeimo-word-wordparagraph)

Adds items to [WordHeaderFooter.Paragraphs](/api/word/officeimo-word-wordheaderfooter/): Gets all paragraphs contained in the header or footer.

Type Parameters

**TSelf**

Parameters

**wordHeaderFooter TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordParagraph> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf Paragraph<TSelf>(TSelf wordHeaderFooter, WordParagraph item)` [#](#method-paragraph-officeimo-word-wordparagraph)

Adds an item to [WordHeaderFooter.Paragraphs](/api/word/officeimo-word-wordheaderfooter/): Gets all paragraphs contained in the header or footer.

Type Parameters

**TSelf**

Parameters

**wordHeaderFooter TSelf required**

The instance.

**item OfficeIMO.Word.WordParagraph required**

The item.

Returns

`TSelf` The same instance.

## 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:123F7CDAB1CD356BC317C48D990D4F038E412AE7B9B6750D5FF33F9B3B26BFBA -->
