Compartilhar via


EntityCollection.Entities propriedade

Obtém a coleção de objetos Entity .

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

Sintaxe

'Declaração
Public Shared ReadOnly Property Entities As EntityCollection
    Get
'Uso
Dim value As EntityCollection

value = EntityCollection.Entities
public static EntityCollection Entities { get; }

Valor de propriedade

Tipo: Microsoft.Office.Project.Server.Library.EntityCollection

Comentários

Use EntityCollection.Entities para acessar as informações para entidade específica.

Exemplos

O código a seguir obtém o GUID da entidade tarefa.

using PSLibrary = Microsoft.Office.Project.Server.Library;
. . .
string taskEntity = PSLibrary.EntityCollection.Entities.TaskEntity.UniqueId;
Guid taskEntityUid = new Guid(taskEntity);

Ver também

Referência

EntityCollection classe

EntityCollection membros

Microsoft.Office.Project.Server.Library namespace