Serializes the rule to a JSON string that can be used to fill the UI dialog (RecurrentEventEdit.aspx).
It is only able to serialize a subset of the possible rules that can be loaded by the dialog.
Namespace: DayPilot.Web.Mvc.RecurrenceAssembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)
Syntax
C# |
---|
public string ToJson( CultureInfo culture ) |
Visual Basic |
---|
Public Function ToJson ( _ culture As CultureInfo _ ) As String |
Visual C++ |
---|
public: String^ ToJson( CultureInfo^ culture ) |
Parameters
- culture
- Type: System.Globalization..::..CultureInfo
The culture used to format the DateTime values.