CustomProperties Property

List of extra properties that may be used to extend the functionality of this component.

Syntax

public CalCustomPropList CustomProperties { get; }
Public Property CustomProperties As CalCustomPropList

Remarks

This property is used to add additional name/value pairs to the request. It is valid only for the PutCalendarEvent and CreateCalendar methods. You may use this property to submit any CalDAV fields that are not directly supported by this component. You may also use it to send custom properties that are specific on the calendar that you are using. Such custom properties normally start with "X-". For instance:

  CalDAV.CustomProperties.Add(new CalCustomProp("X-foo", "bar"));
  
  or
  
  CalDAV.CustomProperties.Add(new CalCustomProp());
  CalDAV.CustomProperties[0].Name = "X-hello";
  CalDAV.CustomProperties[0].Value = "world";
The contents of the CustomProperties collection will only be added to the PutCalendarEvent or CreateCalendar requests. They will be ignored for all other methods.

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]