Skip to main content

TextProperty.AddParameter(String, String) Method

Adds a property parameter to an iCalendar component property.

Namespace: DevExpress.XtraScheduler.iCalendar.Components

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public void AddParameter(
    string name,
    string value
)

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

See Also