The FROM_PROPERTY function takes a variable number of arguments. Each argument is evaluated as a property and this evaluation is within the context dictated by the argument that precedes it in the arguments to the function. The overall purpose of this function is to provide a kind of drill-down access to the value of a property that may be a descendent of the current object.
One of the main uses of this function is to set the context of another function call to property. Certain property functions do not directly support other data types for return. The FROM_PROPERTY function allows for these other functions to be called in a property context and to then return that value in another data type.
When taking multiple parameters, the FROM_PROPERTY function is likely to be used in an overall search of a collection for a given object based on a property value, returning another property within the same object instance.
@FROM_PROPERTY (Property 1 [, ..., Property N]) | |
---|---|
Property 1 | Required property parameter, contains the value to be evaluated
as a property in the context of the function call. This parameter
sets the context of the next parameter to the function, if present.
If this is the only parameter, it will be returned in the context
of the function call. |
Property N | Optional property parameter(s), contains the value to be evaluated
as a property in the context of the preceding parameter to the function.
This parameter sets the context of the next parameter to the function,
if present. If this is the last parameter, it will be returned in
the context of the function call. |