AddCustomProperty Method

Adds a form variable and the corresponding value.

Syntax

public fun addCustomProperty(varName: String?, varValue: String?)

Remarks

This property adds a form variable and the corresponding value. For information on form variables and how they are managed, please refer to the CustomProperties collection.

Example using the AddCustomProperty method:


CalDAVControl.Reset()
CalDAVControl.AddCustomProperty("propname1", "propvalue1")
CalDAVControl.AddCustomProperty("propname2", "propvalue2")
Example using the CustomProperties collection:
CalDAVControl.Reset()
CalDAVControl.CustomProperties.Add(new CalCustomProp("propname1", "propvalue1"))
CalDAVControl.CustomProperties.Add(new CalCustomProp("propname2", "propvalue2"))

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]