Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

string myWorkItem.Caption { get; set; }

Remarks

Caption is evaluated from the task caption by default, but unlike name property, this property can be changed later.

If the state is not in Waiting or Created, trying to set this property is prohibited and an access denied error will be thrown.

Example

Code Block
languagejs
// Changing the caption:
$WorkItem.Caption = 'Leave Request';