| 
   Available in LEADTOOLS Medical Imaging toolkits.  | 
LDicomAssociate::GetTransferCount
#include "ltdic.h"
L_INT LDicomAssociate::GetTransferCount(nID)
| 
 L_UCHAR nID;  | 
 /* presentation ID */  | 
Returns the number of Transfer Syntax entries for the specified Presentation Context.
| 
 Parameter  | 
 Description  | 
| 
 nID  | 
 Presentation ID. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data.  | 
Returns
The number of Transfer Syntax entries for the specified Presentation Context.
Comments
A DICOM Associate can have more than one Presentation Context. The nID parameter identifies which Presentation Context to use when getting the number of Transfer Syntax entries.
A Presentation Context for an Associate Accept has only one Transfer Syntax. Therefore if you call this function for the Presentation Context of a DICOM Associate Accept, it will return 1.
Required DLLs and Libraries
| 
 LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application  | 
See Also
| 
 Functions:  | 
 LDicomAssociate::GetTransfer, LDicomAssociate::SetTransfer, LDicomAssociate::AddTransfer, LDicomAssociate::DelTransfer  | 
| 
 Topics:  | 
Example
For an example, refer to LDicomAssociate::DelTransfer.