Union Method

See Also Applies To Example Model

Returns a the union of two collections as a new collection.

object expression.Union (Object)

object expression    Required. An object expression that evaluates to an object in the Applies To list.

Object    Required. Either a Group or Region object.

Example

The following example creates a new Group called "Merged" which is formed by the union of two other Group objects.

Set Merged = GroupA.Union (GroupB)