Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ManagedNameValueCollection.Merge Method

Merges the current value set with that of the supplied object.

[Visual Basic]
Public NotOverridable Sub Merge( _
   ByVal parent As Object _
) _
    Implements IMergable.Merge
[C#]
public object Merge(
   object parent
);

Parameters

parent
The parent object to merge with

Return Value

The result of the merge operation

Implements

IMergable.Merge

Remarks

The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.

Exceptions

Exception Type Condition
ArgumentNullException If the supplied parent is
null
InvalidOperationException If merging is not enabled for this instance, (i.e.
MergeEnabled
equals
false
.

See Also

ManagedNameValueCollection Class | Spring.Objects.Factory.Support Namespace