This documentation is archived and is not being maintained.
EntityCollection::Entities property
Gets the collection of Entity objects.
Namespace:
Microsoft.Office.Project.Server.LibraryAssembly:
Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
No code example is currently available or this language may not be supported.
Use EntityCollection.Entities to access information for specific entity.
The following code gets the GUID of the task entity.
using PSLibrary = Microsoft.Office.Project.Server.Library;
. . .
string taskEntity = PSLibrary.EntityCollection.Entities.TaskEntity.UniqueId;
Guid taskEntityUid = new Guid(taskEntity);