TextProperty.AddParameter(String, String) Method

Adds a property parameter to an iCalendar component property.

Namespace: DevExpress.XtraScheduler.iCalendar.Components

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll


public void AddParameter(
    string name,
    string value
Public Sub AddParameter(
    name As String,
    value As String


Name Type Description
name String

A string containing the parameter's name.

value String

A string containing the parameter's value.


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

See Also