共用方式為


Count Property

Contains a count of the number of project, file, or server objects in a project, file, or server collection. Read-only at design time and run time.

Object.Count

Remarks

For a projects collection, the Count property contains zero if there are no instances of the Project Manager. For a file or server collection, the Count property contains zero if there are no files or servers in the file or server collection.

See Also

Item Method | Application Development with Project Manager

Applies To: Files Collection | Projects Collection | Servers Collection