FunctionUtils.ValidateOrder(Expression, ReturnType[], ReturnType[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validate the number and type of arguments to a function.
public static void ValidateOrder (AdaptiveExpressions.Expression expression, AdaptiveExpressions.ReturnType[] optional, params AdaptiveExpressions.ReturnType[] types);
static member ValidateOrder : AdaptiveExpressions.Expression * AdaptiveExpressions.ReturnType[] * AdaptiveExpressions.ReturnType[] -> unit
Public Shared Sub ValidateOrder (expression As Expression, optional As ReturnType(), ParamArray types As ReturnType())
Parameters
- expression
- Expression
Expression to validate.
- optional
- ReturnType[]
Optional types in order.
- types
- ReturnType[]
Expected types in order.