# WordMailMergeBlockData

Represents one repeated block row with optional nested repeated regions.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[WordMailMerge.Models.cs:277](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordMailMerge.Models.cs#L277)

**Modifiers**

sealed

Represents one repeated block row with optional nested repeated regions.

## Inheritance

- object
- WordMailMergeBlockData

## Usage

Explore 3 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 [WordMailMergeBlockData.Regions](/api/word/officeimo-word-wordmailmergeblockdata/#property-regions)

### Accepted by parameters 2

- Method [WordMailMerge.ExecuteRepeatingBlockRegions](/api/word/officeimo-word-wordmailmerge/#method-executerepeatingblockregions-officeimo-word-worddocument-collections-generic-idictionary-system-string-system-collections-generic-ienumerable-officeimo-word-wordmailmergeblockdata-boolean) parameter `regions`
- Constructor [WordMailMergeBlockData.WordMailMergeBlockData](/api/word/officeimo-word-wordmailmergeblockdata/#constructor-ctor-collections-generic-idictionary-system-string-system-string-collections-generic-idictionary-system-string-system-collections-generic-ienumerable-officeimo-word-wordmailmergeblockdata) parameter `regions`

Filter members 

Show inherited

## Constructors

WordMailMergeBlockData 2 overloads

`public WordMailMergeBlockData(IDictionary<string, string> values)` [#](#constructor-ctor-collections-generic-idictionary-system-string-system-string)

[WordMailMerge.Models.cs:277](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordMailMerge.Models.cs#L277)

Creates a repeated block row.

Parameters

**values System.Collections.Generic.IDictionary<string, string> required**

Values applied to merge fields inside this block row.

`public WordMailMergeBlockData(IDictionary<string, string> values, IDictionary<string, IEnumerable<WordMailMergeBlockData>> regions)` [#](#constructor-ctor-collections-generic-idictionary-system-string-system-string-collections-generic-idictionary-system-string-system-collections-generic-ienumerable-officeimo-word-wordmailmergeblockdata)

[WordMailMerge.Models.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordMailMerge.Models.cs#L285)

Creates a repeated block row with nested repeated regions.

Parameters

**values System.Collections.Generic.IDictionary<string, string> required**

Values applied to merge fields inside this block row.

**regions System.Collections.Generic.IDictionary<string, System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordMailMergeBlockData>> required**

Nested repeated regions available inside this block row.

## 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 IDictionary<string, string> Values { get; }` [#](#property-values)

[WordMailMerge.Models.cs:291](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordMailMerge.Models.cs#L291)

Values applied to merge fields inside this block row.

`public IDictionary<string, IEnumerable<WordMailMergeBlockData>> Regions { get; }` [#](#property-regions)

[WordMailMerge.Models.cs:294](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Word/WordMailMerge.Models.cs#L294)

Nested repeated regions available inside this block row.

<!-- PowerForge markdown artifact sha256:E2832BA419FB6F5FA8A375550C4EDE077F0D89097333CA5FE2AD2501016DC25C -->
