2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / AlarmZonesCollection Class / InsertNewZone Method

In This Topic
    InsertNewZone Method
    In This Topic
    Creates a new AlarmZone and inserts it at the specified index of the collection.
    Syntax
    'Declaration
     
    Public Function InsertNewZone( _
       ByVal index As System.Integer _
    ) As AlarmZone
    public AlarmZone InsertNewZone( 
       System.int index
    )

    Parameters

    index

    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