Additional Topics > Medical Imaging in IDL > IDL DICOM Reference > IDLffDicomExCfg::GetApplicationEntities

# IDLffDicomExCfg::GetApplicationEntities

The IDLffDicomExCfg::GetApplicationEntities function method returns an array of structures containing the definitions of all the application entities defined or all the application entities of a specified service type.

## Syntax

Result = Obj->[IDLffDicomExCfg::]GetApplicationEntities( [, COUNT=variable] [, /SERVICE_TYPE=string] )

## Return Value

An array of `IDLFFDICOMEXCFGAE` structures, one per existing Application Entity. Each `IDLFFDICOMEXCFGAE` structure has the following fields:

APPLENTITYNAME (string)

AET (string)

PORT (unsigned long integer)

HOSTNAME (string)

SERVICELISTNAME (string)

SERVICETYPE (string)

## Arguments

None

## Keywords

### COUNT

Set this keyword equal to a named variable that will contain an integer representing the number of structures representing application entities returned.

### SERVICE_TYPE

Set this keyword equal to a string containing the name of an existing service type to return only application entities that match the service type. See IDLffDicomExCfg::GetServiceTypes for a list of allowed values.

Note: The value of the SERVICE_TYPE keyword is case-sensitive.

## Version History

6.3 | Introduced