EntityCollection.OutlineCodeEntity Property
Contains metadata for the outline code entity type.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public ReadOnly Property OutlineCodeEntity As Entity
Get
'Usage
Dim instance As EntityCollection
Dim value As Entity
value = instance.OutlineCodeEntity
public Entity OutlineCodeEntity { get; }
Property Value
Type: Microsoft.Office.Project.Server.Library.Entity
Remarks
Use EntityCollection.Entities.OutlineCodeEntity.UniqueId to obtain the GUID of the outline code entity for use in PSI methods.
Examples
The following code gets the GUID of the outline code entity.
using PSLibrary = Microsoft.Office.Project.Server.Library;
. . .
string outlineCodeEntity = PSLibrary.EntityCollection.Entities.OutlineCodeEntity.UniqueId;
Guid outlineCodeEntityUid = new Guid(outlineCodeEntity);