OfficeListMerge
OfficeIMO
How a structured-document merge, such as YAML or TOML, combines an overlay list (a YAML sequence, a TOML array or array of tables) with the base list at the same path: OfficeListMerge.Replace (the default), OfficeListMerge.Append or OfficeListMerge.MergeByKey.
Inheritance
- object
- OfficeListMerge
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 3
- Method OfficeListMerge.MergeByKey
- Property OfficeListMerge.Append
- Property OfficeListMerge.Replace
Methods
public static OfficeListMerge MergeByKey(string keyName) #Mapping or table items are matched by the value of a key, for example containers by name: an overlay item merges into the first base item with an equal value under that key that no earlier overlay item matched, and items without a match are appended. A list whose overlay items are not all mappings with a value under the key is replaced as with OfficeListMerge.Replace.
Parameters
- keyName string
- The key whose value identifies an item.
Returns
OfficeListMergeExceptions
ArgumentException– keyName is null or empty.