# WordRepeatingSectionFluent

The fluent methods of WordRepeatingSection, 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 [WordRepeatingSection](/api/word/officeimo-word-wordrepeatingsection/), 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
- WordRepeatingSectionFluent

Filter members 

Show inherited

## Methods

`public static TSelf Tag<TSelf>(TSelf wordRepeatingSection, string? value)` [#](#method-tag-string)

Sets [WordRepeatingSection.Tag](/api/word/officeimo-word-wordrepeatingsection/): Gets or sets the tag value for this repeating section control.

Type Parameters

**TSelf**

Parameters

**wordRepeatingSection TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
wordRepeatingSection.Tag = value;    wordRepeatingSection.Tag(value);
```

`public static TSelf TextItems<TSelf>(TSelf wordRepeatingSection, IEnumerable<string?> values)` [#](#method-textitems-collections-generic-ienumerable-system-string)

Replaces the repeating-section items with text values.

Type Parameters

**TSelf**

Parameters

**wordRepeatingSection TSelf required**

The instance.

**values System.Collections.Generic.IEnumerable<string?> required**

Item text values. An empty sequence leaves one blank item so the control stays editable in Word.

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:2940C168813646FC46B13DE2B079ED45A955D7DC6746E8F315757D4FE4D17171 -->
