ActiveXParameter.GetEnumValues
- Updated2024-10-09
- 1 minute(s) read
ActiveXParameter.GetEnumValues
Syntax
ActiveXParameter.GetEnumValues
Return Value
Returns an array of property objects where each property object represents an enumeration value.
Purpose
Returns the enumeration constants for a parameter that is an enumeration.
Remarks
The property objects in the array that this method returns have a name and value that corresponds to the name and value of the enumeration constant.
Pass the return value of this method as the additionalConstants parameter of Expression.ValidateEvaluationType when checking the ActiveXParameter.ValueExpr property for errors.
If you are using an ExpressionEdit control to specify the ActiveXParameter.ValueExpr property, pass the return value of this method to ExpressionEdit.SetAdditionalEvaluationConstants to direct the ExpressionEdit control to recognize the enumeration constants.
See Also
ActiveXParameter.ValidEvaluationTypes