Harness proD API Help
EPLAN.Harness.API.DataStructures.OccurrenceSet Namespace / OccurrenceSet Class / Add Method / Add(IOccurrence) Method
An occurrence that you want to add to this set.
In This Topic
    Add(IOccurrence) Method
    In This Topic
    Add the occurrence to this set.
    Syntax
    public void Add( 
       IOccurrence occurrence
    )

    Parameters

    occurrence
    An occurrence that you want to add to this set.
    Exceptions
    ExceptionDescription
    Api is not in an initialized state. You can get current state from Status property. If API is uninitialized, you can initialize it by calling Init(String,String[]) method. If API is in failed state, you can not resurrect it.
    The object is in invalid state. Obtain a new one.
    This file is not opened.
    Argument is null.
    See Also