 | ConfigurationCommonEventTypeXMLDOMAddXPathProperty Method (String, String, XPathResultType, String) |
Adds an event property for which the runtime uses the supplied XPath expression against
a DOM document node to resolve a property value.
Namespace:
com.espertech.esper.common.client.configuration.common
Assembly:
NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntaxpublic void AddXPathProperty(
string name,
string xpath,
XPathResultType type,
string castToType
)
Parameters
- name
- Type: SystemString
of the event property - xpath
- Type: SystemString
is an arbitrary xpath expression - type
- Type: System.Xml.XPathXPathResultType
a constant obtained from System.Xml.XPath.XPathResultType. - castToType
- Type: SystemString
is the type name of the type that the return value of the xpath expression is casted to
See Also