Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.77 KB

Project.ViewsSingle.Add.md

File metadata and controls

49 lines (32 loc) · 1.77 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
ViewsSingle.Add method (Project)
vbapj.chm132759
vbapj.chm132759
project-server
Project.ViewsSingle.Add
509103f7-6301-0880-75eb-590141179caf
06/08/2017
medium

ViewsSingle.Add method (Project)

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

Name Required/Optional Data type Description
Name Required String The name of the view.
Screen Optional Long The project view. Can be one of the PjViewScreen constants. The default value is pjGantt.
ShowInMenu Optional Boolean True if Project Server adds the single-pane view to the View menu. The default value is False.
Table Optional Variant Specifies the table to be used by the view. This value is ignored if the view specified with the Screen argument does not use tables.
Filter Optional Variant Specifies the filter to be used on the view.
Group Optional Variant Specifies 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.
HighlightFilt Optional Boolean True if the filter applied is a highlight filter. The default value is False.

Return value

ViewSingle

See also

ViewsSingle Collection Object

[!includeSupport and feedback]