VelocityDbListTAdd Method (T, Int32) |
Adds an item to a list and if array needs to grow to hold new item, it grows to a given max size.
Namespace:
VelocityDb.Collection
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public virtual void Add(
T item,
int maxArraySize
)
Public Overridable Sub Add (
item As T,
maxArraySize As Integer
)
public:
virtual void Add(
T item,
int maxArraySize
)
abstract Add :
item : 'T *
maxArraySize : int -> unit
override Add :
item : 'T *
maxArraySize : int -> unit
Parameters
- item
- Type: T
item being added - maxArraySize
- Type: SystemInt32
the maximum size to use as internal array size
See Also