Parameters
- expression
The formula for evaluating.
The formula for evaluating.
The formula is passed to the Evaluate method, which returns the result as an object. Now, you can carry out an easy type conversion according to the data type. The sample listing shows how to call the class. The current date is passed as a variable. List & Label.s designer function, AddWeeks, adds two weeks to this date. The result is displayed in a MessageBox.
The formula for evaluating.
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9