C# expressions supported by Visual Studio Workflow
Visual Studio declarative workflows (SharePoint 2013/2016/Online) supports limited C# expressions only. You can't use most of .NET classes, methods, properties and enums, but some of the methods are available. Here is the list of methods and properties available for String class:
You can find a list of supported methods and properties for DateTime class below.
- Contains
- EndsWith
- Equals
- IndexOf
- Length
- Replace
- StartsWith
- Substring
- ToLower
- ToLowerInvariant
- ToString
- ToUpper
- Trim
You can find a list of supported methods and properties for DateTime class below.
- Add
- AddDays
- AddHours
- AddMilliseconds
- AddMinutes
- AddMonths
- AddSeconds
- AddYear
- CompareTo
- Equals
- Hour
- Kind
- Minute
- Month
- Second
- Subtract
- ToString
- Year
Comments
Post a Comment