Freigeben über


Name Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The name of the project, calendar, calendar exception, effective work week, resource, or task.

<Name>
  String(512): for Project, Exception, or WorkWeek; 
  String(255): for Calendar, Resource, or Task
</Name>

Parent Elements

ProjectCalendar, Exception, WorkWeekResourceTask

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value of type string is required. The text value may not exceed 512 characters for the Project , Exception, or WorkWeek elements, or 255 characters for other parent elements.

Example

The following example uses the Name element to indicate that the calendar exception is named New Year's Day.

<Exception>
  <EnteredByOccurrences>0</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2026-01-01T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>20</Occurrences>
  <Name>New Year's Day</Name>
  <Type>2</Type>
  <Month>0</Month>
  <MonthDay>1</MonthDay>
  <DayWorking>0</DayWorking>
</Exception>

See Also

Concepts

Project Elements and XML Structure

XML Schema for the Project Element

Task Elements and XML Structure

XML Schema for the Tasks Element

Resource Elements and XML Structure

XML Schema for the Resources Element

Calendar Elements and XML Structure

XML Schema for the Calendars Element