Skip to content

MaxValue Property

Summary

Gets or sets the maximum value of this Parameter property. It is used for validating user input.

Signature

1
public object MaxValue {get; set;}

Return Value

object

Declaring Type

cAlgo.API.ParameterAttribute

Examples

1
2
3
4
5
 //...
 //The maximum value the user can set Periods is twenty
 [Parameter(DefaultValue = 14, MaxValue = 20)]
 public int Periods { get; set; }
 //...

Last update: November 25, 2022

Comments