Eplan Platform API
Eplan.EplApi.ApplicationFramework Namespace / EventManager Class / Send Method
Name of the event that is sent.
Object containing parameters for this event.
Example

In This Topic
    Send Method
    In This Topic
    Sends an event to the system.
    Syntax

    Parameters

    strEventName
    Name of the event that is sent.
    pEventParameter
    Object containing parameters for this event.

    Return Value

    Status of event processing. The Status is a result value of an event. The value is defined by the catcher of the event. When more events are called, the result is a bitwise or of every single result.
    Example
    Send the EventAusCSharpAddIn event with string parameters being passed (EventParameterString)
    EventManager oEventManager = new EventManager();
    EventParameterString oEventParamString = new EventParameterString();
    oEventParamString.String = "ParameterAusCSharpAddIn";
    long lRetVal = oEventManager.Send("EventAusCSharpAddIn", oEventParamString);
    
    
    See Also