TaskList.CreateState Method

Create a new task / task state
Public Shared Function CreateState( _ 
ByVal state As TaskState, _ 
ByVal type_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateState( 
TaskState state
EntityID type_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateState( 
TaskState^ state
EntityID^ type_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateState( 
state : TaskState
type_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

state
TaskState

the task state to create

type_id
EntityID

the type id

db
IDatabase

the database object to use

Return Value

EntityID

the id of the state

.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