NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListMerge Class

Used by the configuration system to merge configuration information from multiple configuration files by replacing any matching configuration info from the parent file with information from the child file.

Object
   ListMerge

[Visual Basic]
Public Class ListMerge
   Implements IConfigMerger
[C#]
public class ListMerge : IConfigMerger
[C++]
public __gc class ListMerge : public IConfigMerger
[JScript]
public class ListMerge implements IConfigMerger

Remarks

It uses the primary key definition in the ConfigType's schema to determine matches of configuration items. All primary key properties must be contiguous and start with property index 0.

The ListMerge interceptor optionally processes directives as declared in Interceptors.ListMergeDirective. The directive property must be the first property in the ConfigType (must have property index 0) and it must be declared as a primary key property for the ConfigType: it must be tagged with the MetaFlags="DIRECTIVE PRIMARYKEY" in the schema definition file for the ConfigType. The directive property must have Type="int32" and enumeration tags (<enum>) must be declared to match the values of Interceptors.ListMergeDirective.

Refer to Interceptors.IConfigMerger for more information on how to use merge interceptors with your own configuration information.

Requirements

Namespace: System.Configuration.Interceptors

Assembly: System.Configuration.dll

See Also

ListMerge Members | System.Configuration.Interceptors Namespace