←Select platform

GetProviderRole Method

Summary

Determines whether the Provider Role is supported for the specified Presentation Context of the DICOM Associate.

Syntax

C#
VB
C++
public DicomRoleSupport GetProviderRole( 
   byte id 
) 
Public Function GetProviderRole( _ 
   ByVal id As Byte _ 
) As Leadtools.Dicom.DicomRoleSupport 
public: 
Leadtools.Dicom.DicomRoleSupport GetProviderRole(  
   byte id 
)  

Parameters

id
Presentation Context ID of the Presentation Context for which to check the Provider Role. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

Return Value

A value indicating whether the Provider Role is supported for the specified Presentation Context of the DICOM Associate.

Remarks

Support for the Provider Role allows the Application Entity to act as an SCP for that Presentation Context. To enable Role Selection, and to set the User and Provider Roles, call SetRoleSelect.

Example

For an example, refer to IsRoleSelect.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly