SetProperties

The SetProperties method sets the values of one or more specified properties.

Applies To

Schedule and all Item objects

Syntax

objContact.SetProperties Arg1:=Value1, Arg2:=Value2, ..., ArgN:=ValueN

Parameters

Arg1, …, ArgN
Specifies one or more strings containing the names of properties to set.
Value1, …, ValueN
Specifies the values to which you want to set the properties.

Remarks

You can include any number of properties defined for an object and specify them in any order. When setting multiple properties on an object, calling the SetProperties method is faster than calling the Properties method multiple times.

After calling this method, the specified values are set on the Item object, but the data is not written to the item until the object is released or until the Flush method is called.

For single properties, you can also use the following syntax:

object.property = value

Note This method does not work with Visual Basic version 3.0.

See Also

Flush
GetProperties
Properties