![]() | ExpressionsInstanceOf Method |
Name | Description | |
---|---|---|
![]() ![]() | InstanceOf(String, String, String) |
Instance-of function, tests if the type of the return value of a property is in a list of types.
Useful with dynamic (unchecked) properties to check the type of property returned.
The list of types can include fully-qualified class names plus any of the
primitive type names: byte, char, short, int, long, float, double, boolean.
Alternatively to "System.String" the simple "string" is also permitted.
Type checks include all superclasses and interfaces of the value returned by the expression.
|
![]() ![]() | InstanceOf(Expression, String, String) |
Instance-of function, tests if the type of the return value of an expression is in a list of types.
The list of types can include fully-qualified class names plus any of the
primitive type names: byte, char, short, int, long, float, double, boolean.
Alternatively to "System.String" the simple "string" is also permitted.
Type checks include all superclasses and interfaces of the value returned by the expression.
|