Click or drag to resize

ExtensionMethodsGetValue Method

Gets the value of the NameValuePair specified by its name

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static string GetValue(
	this IList<Variable> collection,
	string name
)

Parameters

collection
Type: System.Collections.GenericIListVariable
The collection of the NameValuePair
name
Type: SystemString
The name of the NameValuePair

Return Value

Type: String
The value of the Variable which its Name is specified by the name parameter. If the NameValuePair is not found, a value will be returned.

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