AddCustomProperty Method
Adds a form variable and the corresponding value.
Syntax
[VB.NET] Public Sub AddCustomProperty(ByVal VarName As String, ByVal VarValue As String)
[C#] public void AddCustomProperty(string varName, string varValue);
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"))NOTE: This method has a corresponding asynchronous version (AddCustomPropertyAsync) for use in the WinRT environment.