Click or drag to resize

imbPropertyCollectionExtensionsAppend Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Appends the specified key and value accordint the specified [!:aceCommonTypes.enums.existingDataMode]. Returns TRUE if newValueCandidate was written as result of the policy specified.

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool Append(
	this PropertyCollection data,
	Object key,
	Object newValueCandidate,
	existingDataMode policy
)
Request Example View Source

Parameters

data
Type: System.DataPropertyCollection
The data.
key
Type: SystemObject
The key.
newValueCandidate
Type: SystemObject
The new value candidate - it will be or not written under specified key depending on policy and current data
policy
Type: imbSCI.Core.enumsexistingDataMode
The policy on handling existing entry for the key specified

Return Value

Type: Boolean
FALSE if newValueCandidate was not written into data collection

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