Click or drag to resize

imbPropertyCollectionExtensionsAddRange Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds or replaces values of existing with values from data. Overwrite is off if skipExistingKeys is TRUE

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static int AddRange(
	this PropertyCollection existing,
	PropertyCollection data,
	bool skipExistingKeys = false
)
Request Example View Source

Parameters

existing
Type: System.DataPropertyCollection
Collection to modify
data
Type: System.DataPropertyCollection
input data
skipExistingKeys (Optional)
Type: SystemBoolean
on TRUE it will not replace existing values

Return Value

Type: Int32
Number of newly added key/value pairs. -1 if data is null

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also