Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Overview

Gets or sets the caption of a work item to display in user interfaces.

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

// Changing the caption:
$WorkItem.Caption = 'Leave Request';
  • No labels