Creates a new AlarmZone and inserts it at the specified index of the collection.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public AlarmZone InsertNewZone(
	int index
)
Visual Basic
Public Function InsertNewZone ( _
	index As Integer _
) As AlarmZone

Parameters

index
Type: System..::..Int32

Return Value

A reference to the newly created AlarmZone.

Remarks

The new AlarmZone is returned. A name unique to the collection is given to the added AlarmZone. An AlarmZone object can be set to the return value, making it very easy to initialize the newly added AlarmZone. For example:

See Also