Class DocxMailMergeBlockData
- Namespace
- DocToolkit
- Assembly
- DocToolkit.Docx.dll
One repeated block row, for the nested form of repeating-region merging.
public sealed class DocxMailMergeBlockData
- Inheritance
-
DocxMailMergeBlockData
- Inherited Members
Remarks
Mirrors OfficeIMO.Word.WordMailMergeBlockData without exposing it — no
OfficeIMO.* type is ever public in this library. See MergeRepeatingRegions(byte[], IReadOnlyDictionary<string, IEnumerable<DocxMailMergeBlockData>>).
Constructors
DocxMailMergeBlockData(IReadOnlyDictionary<string, string>)
Creates a repeated block row with no nested regions.
public DocxMailMergeBlockData(IReadOnlyDictionary<string, string> values)
Parameters
valuesIReadOnlyDictionary<string, string>Values applied to merge fields inside this block row.
DocxMailMergeBlockData(IReadOnlyDictionary<string, string>, IReadOnlyDictionary<string, IEnumerable<DocxMailMergeBlockData>>?)
Creates a repeated block row with nested repeated regions.
public DocxMailMergeBlockData(IReadOnlyDictionary<string, string> values, IReadOnlyDictionary<string, IEnumerable<DocxMailMergeBlockData>>? regions)
Parameters
valuesIReadOnlyDictionary<string, string>Values applied to merge fields inside this block row.
regionsIReadOnlyDictionary<string, IEnumerable<DocxMailMergeBlockData>>Nested repeated regions available inside this block row, keyed by marker name. Null when this row has none.
Properties
Regions
Nested repeated regions available inside this block row, keyed by marker name.
public IReadOnlyDictionary<string, IEnumerable<DocxMailMergeBlockData>>? Regions { get; }
Property Value
Values
Values applied to merge fields inside this block row.
public IReadOnlyDictionary<string, string> Values { get; }