Application.OrganizerRenameItem Method
Project Developer Reference |
Renames an item in the Organizer.
Syntax
expression.OrganizerRenameItem(Type, FileName, Name, NewName, Task)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Type | Optional | Long | The type of item to rename. Can be one of the PjOrganizer constants. The default value is pjViews. |
FileName | Required | String | The name of the file containing the item to rename. |
Name | Required | String | The name of the item to rename. |
NewName | Required | String | The new name for the item specified with Name. |
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
See Also