Click or drag to resize

imbPropertyCollectionExtensionscontainsKey Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Determines whether the specified key contains key - by testing ToString() value it direct test returns false

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool containsKey(
	this PropertyCollection source,
	Enum key
)
Request Example View Source

Parameters

source
Type: System.DataPropertyCollection
The source.
key
Type: SystemEnum
The key.

Return Value

Type: Boolean
true if the specified key contains key; otherwise, false.

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