IsSubset Method

See Also Applies To Example Model

Returns True if the collection is a subset of another collection.

object expression.IsSubSet (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 checks if a Group is a subset of another Group, and if it is, removes all Bot objects.

If GroupA.IsSubset (GroupB) Then GroupA.RemoveAll