LEADTOOLS Medical (Leadtools.Dicom assembly)

GetNextUnusedPrivateTag Method

Show in webframe







Private Creator Data Element
Returns the next available unused tag reserved by the Private Creator Data Element.
Syntax
public int GetNextUnusedPrivateTag( 
   DicomElement privateCreatorDataElement
)
'Declaration
 
Public Function GetNextUnusedPrivateTag( _
   ByVal privateCreatorDataElement As DicomElement _
) As Integer
'Usage
 
Dim instance As DicomDataSet
Dim privateCreatorDataElement As DicomElement
Dim value As Integer
 
value = instance.GetNextUnusedPrivateTag(privateCreatorDataElement)
public int GetNextUnusedPrivateTag( 
   DicomElement privateCreatorDataElement
)

            
public int getNextUnusedPrivateTag(DicomElement privateCreatorDataElement)
 function Leadtools.Dicom.DicomDataSet.GetNextUnusedPrivateTag( 
   privateCreatorDataElement 
)
public:
int GetNextUnusedPrivateTag( 
   DicomElement^ privateCreatorDataElement
) 

Parameters

privateCreatorDataElement
Private Creator Data Element

Return Value

The next unused private tag.
Remarks

This feature is available in version 16 or higher.

This method is used together with any of the following functions:

to create private elements in a DICOM data set. For more information on private elements, see CreatePrivateCreatorDataElement.

Use this method with an existing private creator data element to create private elements. If successful, the return value will be the next available unused tag that has been reserved by the Private Creator Data Element

For example, suppose the following tags exist in a DICOM data set:

After a successful call to GetNextUnusedPrivateTag, the return value is 0x00171202, which can be used with InsertElement to add a new private element

Example
For an example, refer to CreatePrivateCreatorDataElement.
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members
Private Data Element Tags
CreatePrivateCreatorDataElement Method
GetNextUnusedPrivateTag Method
FindFirstPrivateCreatorDataElement Method
FindNextPrivateCreatorDataElement Method
FindFirstPrivateElement Method
FindNextPrivateElement Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features