Application.OrganizerDeleteItem Method (Project)

Deletes an item from the Organizer.

Syntax

expression .OrganizerDeleteItem(Type, FileName, Name, Task)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Type

Optional

Long

The type of item to delete. Can be one of the PjOrganizer constants. The default value is pjViews.

FileName

Required

String

The name of the file containing the item to delete.

Name

Required

String

The name of the item to delete.

Task

Optional

Boolean

True if the item applies to tasks. False if the item applies to resources. The default value is True.

Return Value

Boolean