Project.UpdateCategories Method

Set or remove any categories on a project
Public Shared Function UpdateCategories( _ 
ByVal project_id As EntityID, _ 
ByVal categories_to_set As HashSet(Of EntityID), _ 
ByVal categories_to_delete As HashSet(Of EntityID), _ 
Optional ByVal waiter As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse UpdateCategories( 
EntityID project_id
HashSet<EntityID> categories_to_set
HashSet<EntityID> categories_to_delete
IASyncWait waiter = null 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ UpdateCategories( 
EntityID^ project_id
HashSet<EntityID^>^ categories_to_set
HashSet<EntityID^>^ categories_to_delete
IASyncWait^ waiter 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

project_id
EntityID

the project to set categories for

categories_to_set
HashSet<EntityID>

any categories to set on the project

categories_to_delete
HashSet<EntityID>

the categories to delete

waiter
IASyncWait

an optional waiter

Return Value

OperationResponse

the result of the operation

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition