[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds the named event property backed by the named accessor method.
The accessor method is expected to be a public method with no parameters
for simple event properties, or with a single integer parameter for indexed
event properties, or with a single String parameter for mapped event properties.
Namespace: net.esper.client
Assembly:
NEsper (in NEsper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Sub AddMethodProperty ( _
name As String, _
accessorMethod As String _
) |
C# |
---|
public virtual void AddMethodProperty (
string name,
string accessorMethod
) |
Visual C++ |
---|
public:
virtual void AddMethodProperty (
String^ name,
String^ accessorMethod
) |
Parameters
- name
- System.String
is the event property name
- accessorMethod
- System.String
is the accessor method name.