Help > Web Development > Object Reference > Object Reference > ISYSDocument > Entities Property
<a name="kanchor310"></a>ISYSDocument:Entities Property
Returns a list of entities present in this document.

Syntax
[VBScript]
ReadOnly property ISYSDocument.Entities as ISYSEntityList
[C#]
IISYSEntityList  ISYSDocument.Entities {get;}
[ColdFusion/Java]
IISYSEntityList  ISYSDocument.Entities() throws ComException;
Examples
[VBScript]
<% ' Execute a pre-configured ISYSSearch Object Set Document = Results(I) ' Entities are sorted by type, followed by freqency. Loop through the ' entities and show in a table LastEntityType = -1 %> <table> <% For Each Entity in Document.Entities %> <% If Entity.Type <> LastEntityType Then %> <tr> <td colspan="2"> <%= Entity.TypeName %> </td> </tr> <% LastEntityType = Entity.Type %> <% End If %> <tr> <td> <%= Entity.DisplayName %> </td> <td> <%= Entity.Count %> </td> </tr> <% Next %> </table>