共用方式為


Period Object Members

Project Developer Reference

A Period object represents a period in a calendar. There is no collection for Period objects.

Methods

  Name Description
Bb179400.methods(en-us,office.12).gif Default Resets the Period element of a resource calendar to the values in the corresponding base calendar. Applying the Default method to a base calendar resets these properties to their default values

Properties

  Name Description
Bb179400.properties(en-us,office.12).gif Application Returns an Application object. Read-only Object.
Bb179400.properties(en-us,office.12).gif Calendar Returns a Calendar object representing the calendar containing the Period object. Read-only Object.
Bb179400.properties(en-us,office.12).gif Count Returns the number of days in the Period object. Read-only Integer.
Bb179400.properties(en-us,office.12).gif Parent Returns the parent of the object. Read-only Object.
Bb179400.properties(en-us,office.12).gif Shift1 Returns a Shift object representing a shift of a Period. Read-only Object.
Bb179400.properties(en-us,office.12).gif Shift2 Returns a Shift object representing a shift of a Period. Read-only Object.
Bb179400.properties(en-us,office.12).gif Shift3 Returns a Shift object representing a shift of a Period. Read-only Object.
Bb179400.properties(en-us,office.12).gif Shift4 Returns a Shift object representing a shift of a Period. Read-only Object.
Bb179400.properties(en-us,office.12).gif Shift5 Returns a Shift object representing a shift of a Period. Read-only Object.
Bb179400.properties(en-us,office.12).gif Working True if any day in the calendar period is a working day. Read/write Boolean.