Add Method
Syntax
Object.Add [NumItems = 1]
Return Type
The newly created object.
Applies To
CWIMAQGeometricPatternMatchReport
CWIMAQNearestNeighborTrainClassScores
Purpose
Adds an object to the collection and returns the new object.
Parameters
NumItems As Variant
[Optional] Specifies the number of items to add to the collection.
This parameter has a default value of 1.
Example
Dim Points As New CWIMAQPoints Dim Point As CWIMAQPoint ' Create a new CWIMAQPoints collection and add 100 points into it ' After the call to add, Point = Points(1) Set Point = Points.Add(100)