Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.48 KB

Project.Application.FilterNew.md

File metadata and controls

44 lines (26 loc) · 1.48 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.FilterNew method (Project)
vbapj.chm504
vbapj.chm504
project-server
Project.Application.FilterNew
9289cf4f-ce29-695d-baf8-08316ed1e31b
06/08/2017
medium

Application.FilterNew method (Project)

Shows the Filter Definition dialog box, where the user can create a filter for a task-based view, resource-based view, or the default view filter.

Syntax

expression. FilterNew( _FilterType_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
FilterType Optional PjFilterViewType Specifies whether the filter is for task information or resource information. Can be one of the following constants of the PjFilterViewType enumeration: pjFilterViewTypeResource, pjFilterViewTypeTask, or pjFilterViewTypeUseView. The default value is pjFilterViewTypeUseView.

Return value

Boolean

Remarks

Running the FilterNew method with no arguments corresponds to the New Filter command in the Filter drop-down list on the VIEW tab of the ribbon. That command brings up the Filter Definition dialog box, where the Field Name drop-down list contains fields that apply to the current view.

[!includeSupport and feedback]