Get all entities associated with another of a specific type

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetAssociatedEntityIDs( _ 
ByVal entity_id As EntityID, _ 
ByVal type As EntityType, _ 
ByVal expected_type As EntityType, _ 
ByVal db As IDatabase
) As List(Of EntityID)
This language is not supported or no code example is available.
public static List<EntityID> GetAssociatedEntityIDs( 
EntityID entity_id
EntityType type
EntityType expected_type
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<EntityID^>^ GetAssociatedEntityIDs( 
EntityID^ entity_id
EntityType type
EntityType expected_type
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

entity_id
Type: EntityID

the id of the entity we're looking at associations for

type
Type: EntityType

the type of the entity we're looking for

expected_type
Type: EntityType

the expected types we're looking for

db
Type: IDatabase

the database

Return Value

Type: List<EntityID>

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1