TextProperty.AddParameter(String, String) Method
Adds a property parameter to an iCalendar component property.
Namespace: DevExpress.XtraScheduler.iCalendar.Components
Assembly: DevExpress.XtraScheduler.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
name | String | A string containing the parameter’s name. |
value | String | A string containing the parameter’s value. |
Remarks
The following code:
TextProperty p = new TextProperty("ATTENDEE","mailto:expert@somecompany.com");
p.AddParameter("ROLE", "REQ-PARTICIPANT");
p.AddParameter("CN", "Jane Doe");
p.AddParameter("RSVP", "TRUE");
after performing the export and adding a new property to a VEvent object in the AppointmentExporter.AppointmentExporting handler, results in the string in the iCalendar format:
ATTENDEE;ROLE=REQ-PARTICIPANT;CN=Jane Doe;RSVP=TRUE:mailto:expert@company.com
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddParameter(String, String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.