AddCustomProperty Method

Adds a form variable and the corresponding value.

Syntax

public void AddCustomProperty(string varName, string varValue);
Public Sub AddCustomProperty(ByVal VarName As String, ByVal VarValue As 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) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]