Patterns Collection Object

The Patterns collection object contains zero or more patterns in a format.

At a Glance

Specified in type library: CDOHTML.DLL
First available in: CDO Rendering Library version 1.1
Parent objects: Format
Child objects: Pattern
Default property: Item

A Patterns collection supports count and index values that let you access an individual Pattern object through the Item property. The Patterns collection also supports the Microsoft® Visual Basic® For Each statement.

Properties


Name
Available since version
Type

Access
Class 1.1 Long Read-only
Count 1.1 Long Read-only
Item 1.1 Pattern object Read-only
Parent 1.1 Format object Read-only

Methods


Name
Available since version
Parameters
Add 1.1 varValue as Variant,
varRenderUsing as Variant

Remarks

The parent Format object represents a property to be rendered. The Patterns collection should contain enough patterns to cover all possible values of this property. Each Pattern object's Value property indicates the set of values to be rendered by that pattern. If only one Pattern object is included in the collection, its Value property should contain a string value consisting of a single asterisk (*), which matches all possible values of the property to be rendered.