Description

Creates a new McIntensityCalib instance and adds it to the McIntensityCalibs collection.

Return Type

A McIntensityCalib object.  

McIntensityCalib* the new calibration.

Syntax

object.Add (Name)

The Add Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McIntensityCalibs.
NameRequired. A String value.

BSTR : The name given to both the McIntensityCalib.Name property. If an empty name is supplied, the Name is “calibration0”. See McIntensityCalib.Name for more details.

Remarks

An McIntensityCalib instance is created with the specified name. Other properties are initialized to default values. The new calibration is also added to the IntensityCalibs collection.

“For each” enumerations will only find McIntensityCalib instances which are part of the collection, and there is no need to keep an AddRef on the interface instance. McIntensityCalibs.Item will return only collection members for numeric (index value) arguments, but it will find any calibration with a matching Name for string arguments, whether the calibration is part of the calibrations collection or not.

Exceptions

Resource limits.

Notes

The new calibration is also added to the IntensityCalibs collection.