Click or drag to resize

ExtensionMethodsAddItem Method (IListVariable, Variable)

Adds an Variable in the collection. if the variable of the same Name exists already, the value of that variable will be replaced.

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static void AddItem(
	this IList<Variable> collection,
	Variable item
)

Parameters

collection
Type: System.Collections.GenericIListVariable
The collection of NameValuePair.
item
Type: Hummingbird.TestFrameworkVariable
The item to be inserted.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListVariable. 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