Click or drag to resize

NVCollectionExtsAdd Method

Add a new item to the collection per the specified options.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void Add(
	this NameValueCollection nv,
	string name,
	string value,
	NVMergeOptions options
)

Parameters

nv
Type: System.Collections.SpecializedNameValueCollection
The collection to which to add the item.
name
Type: SystemString
The name of the item to add.
value
Type: SystemString
The value for the item.
options
Type: NetQuarryNVMergeOptions
The options specifying how the add is to be handled.

Usage Note

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