Add Method (Patterns Collection)

Add Method (Patterns Collection)

Important  The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Exchange Server 2003 or later.

The Add method creates and returns a new Pattern object in the Patterns collection.

Syntax

Set objPattern = objPatternsColl.Add(varValue, varRenderUsing)

objPattern

On successful return, contains the new Pattern object.

objPatternsColl

Required. The Patterns collection object.

varValue

Required. Variant. Specifies which property values are to be rendered using the new Pattern object.

varRenderUsing

Required. Variant. Specifies how a property is to be rendered using the new Pattern object.

Remarks

The Add method parameters correspond to the Value and RenderUsing properties of the new Pattern object.

See Also

Concepts

Patterns Collection Object