Click or drag to resize

NVCollectionExtsAddField Method (NameValueCollection, IField)

Add a new item to the collection based on an IField from a IMapper. Currently this adds an entries for the field's display text (using DisplayTextGet(DispTextFlags)) and Caption

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void AddField(
	this NameValueCollection nv,
	IField fld
)

Parameters

nv
Type: System.Collections.SpecializedNameValueCollection
The collection to which to add the item.
fld
Type: NetQuarry.DataIField
The field to add. Ignored if null.

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