Previous Topic: SetStateName Method

Next Topic: SetCheckoutName Method


SetStateId Method

Sets the specified State as the current context State.

Syntax

object.SetStateId(lngObjId)

Owning Class

CaWContext

Arguments

lngObjId - A long that represents the State object ID.

Return Value

A boolean - True if success, False if fails.

Example

blnRet = objContext.SetStateId(lngObjId)

More information: