Table of contents
TOC
Collapse the table of content
Expand the table of content

ViewsSingle.Add Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Adds a ViewSingle object to a ViewsSingle collection.

Syntax

expression. Add( ** Name, ** Screen, ** ShowInMenu, ** Table, ** Filter, ** Group, ** HighlightFilt** )

expression A variable that represents a ViewsSingle object.

Parameters

NameRequired/OptionalData TypeDescription
NameRequiredStringThe name of the view.
ScreenOptionalLongThe project view. Can be one of the PjViewScreen constants. The default value is pjGantt.
ShowInMenuOptionalBooleanTrue if Project Server adds the single-pane view to the View menu. The default value is False.
TableOptionalVariantSpecifies the table to be used by the view. This value is ignored if the view specified with the Screen argument does not use tables.
FilterOptionalVariantSpecifies the filter to be used on the view.
GroupOptionalVariantSpecifies the group to be used by the view. If a group is required for the view, but none is specified, the default is ** No Group. This value is ignored if the view specified with the **Screen argument does not use groups.
HighlightFiltOptionalBooleanTrue if the filter applied is a highlight filter. The default value is False.

Return Value

ViewSingle

See also

Concepts

ViewsSingle Collection Object

© 2018 Microsoft