[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: NEsper (in NEsper.dll)
Add an event type with the given alias and a given set of properties.
If the alias already exists with the same event property information, returns the
existing EventType instance.
If the alias already exists with different event property information, throws an exception.
If the alias does not already exists, adds the alias and constructs a new net.esper.events.MapEventType.
Namespace: net.esper.events
Assembly: NEsper (in NEsper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddMapType ( _ eventTypeAlias As String, _ propertyTypes As EDictionary(Of String, Type) _ ) As EventType |
C# |
---|
public EventType AddMapType ( string eventTypeAlias, EDictionary<string, Type> propertyTypes ) |
Visual C++ |
---|
public: virtual EventType^ AddMapType ( String^ eventTypeAlias, EDictionary<String^, Type^>^ propertyTypes ) sealed |
Parameters
- eventTypeAlias
- System.String
is the alias name for the event type
- propertyTypes
- net.esper.compat.EDictionary<(Of K, V>)
is the names and types of event properties