TaskGroups2.Add Method (Project)

Adds a Group2 object to the TaskGroups2 collection.

Version Information

Version Added: Project 2010

Syntax

expression .Add(Name, FieldName)

expression An expression that returns a TaskGroups2 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

Group2

See Also

Concepts

TaskGroups2 Object Members

TaskGroups2 Collection Object