Click or drag to resize

EventTypeGetPropertyType Method

Get the type of an event property.

Returns null if the property name or property expression is not valid against the event type. Can also return null if a select-clause selects a constant null value.

The method takes a property name or property expression as a parameter. Property expressions may include indexed properties via the syntax "name[index]", mapped properties via the syntax "name('key')", nested properties via the syntax "outer.inner" or combinations thereof.

Returns unboxed (such as 'int.class') as well as boxed (System.Int32) type.

Namespace:  com.espertech.esper.common.client
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
Type GetPropertyType(
	string propertyExpression
)

Parameters

propertyExpression
Type: SystemString
is the property name or property expression

Return Value

Type: Type
type of the property, the unboxed or the boxed type.
See Also