Condividi tramite


Comments Element (SetAssignmentWorkData)

Applies to: Office 2010 | Project 2010 | Project Server 2010 | SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences
Text Value

Specifies text to add to the Task Notes with a work data update.

<Comments>
    Text
</Comments>

Attributes

Attribute

Description

None

Child Elements

None

Parent Elements

Change, PeriodChange

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value is optional. This text specifies the text that appears in the Task Notes for the assignment.

Example

The following example uses the Comments tag to update the Task Notes for the specified assignment.

<Changes>
  <Proj ID="a47faeab-0f72-455a-b629-d62faf5fece6">
    <Assn ID="6c9888a8-a782-47ac-a905-e84ad1fe0fb2">
      <Change>
        <ActualWork>480000</ActualWork>
        <RemainingWork>960000</RemainingWork>
        <TotalWork>1440000</TotalWork>
        <Comments>-I started early because I had some extra time.</Comments>
        <Status>Early</Status>
        <StatusGuid>00001441-3cf6-4710-b877-2e17914fa97c</StatusGuid>
      </Change>
    </Assn>
  </Proj>
</Changes>