Click or drag to resize
CollectionAdd Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Adds an element to a Collection object.

Namespace: DataPAEnterpriseDashboard
Assembly: DataPAEnterpriseDashboard (in DataPAEnterpriseDashboard.dll) Version: 1.0.90.0 (1.0.90.0)
Syntax
public void Add(
	Object Item,
	string Key = "<<no-key>>",
	Object Before = null,
	Object After = null
)

Parameters

Item
Type: SystemObject
Required. An object of any type that specifies the element to add to the collection.
Key (Optional)
Type: SystemString
Optional. A unique String expression that specifies a key string that can be used instead of a positional index to access this new element in the collection.
Before (Optional)
Type: SystemObject
Optional. An expression that specifies a relative position in the collection. The element to be added is placed in the collection before the element identified by the Before argument. If Before is a numeric expression, it must be a number from 1 through the value of the collection's Count property. If Before is a String expression, it must correspond to the key string specified when the element being referred to was added to the collection. You cannot specify both Before and After.
After (Optional)
Type: SystemObject
Optional. An expression that specifies a relative position in the collection. The element to be added is placed in the collection after the element identified by the After argument. If After is a numeric expression, it must be a number from 1 through the value of the collection's Count property. If After is a String expression, it must correspond to the key string specified when the element referred to was added to the collection. You cannot specify both Before and After.

Implements

Collection_CollectionAdd(Object, String, Object, Object)
See Also