DeleteProperties

The DeleteProperties method removes specified properties from an object.

Applies To

Schedule and all Item objects

Syntax

objAppt.DeleteProperties Arg1=string, Arg2=string, ..., ArgN=string

Parameters

Arg1=string, …, ArgN=string
Specifies the names of properties to remove.

Remarks

The DeleteProperties method provides an efficient means of deleting multiple properties in a single call. For example, the following sample code uses this method to remove the alarm properties from an appointment:

objAppt.DeleteProperties Ring, AlarmAmount, AlarmTypeUnit

Some properties cannot be deleted, such as ItemId, Created, and LastModified.

See Also

Flush