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.Ui.RecurrenceAssembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.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.