Add Method
Inserts a new element into the Vector collection before the specified Index if Index is not 0. If Index is 0, this method appends a new element to the Vector collection.
Syntax
object.Add( _ Value As Variant, _ [Index As Long])
Parameters
Value
Required. Variant value.Index
Optional. Long value.
0
Default.
Remarks
For example code, see Create an ImageFile Object that Contains a Blank Page in Shared Samples.
Method Information
Minimum operating systems Windows XP SP1