TaskGroups.Add Method (Project)

Adds a Group object to a TaskGroups collection.

Syntax

expression. Add( _Name_, _FieldName_ )

expression A variable that represents a 'TaskGroups' object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of a group definition.
FieldName Required String The name of the first field to group by.

Return Value

Group