Export (0) Print
Expand All

EntityCollection.Entities Property

Office 2007

Contains the collection of Entity objects.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public static EntityCollection Entities { get; }

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);

Community Additions

© 2014 Microsoft