←Select platform

FindNextPrivateCreatorDataElement Method

Summary

Returns the next Private Creator Data Element that matches the search constraints.

Syntax
C#
VB
Java
C++
public DicomElement FindNextPrivateCreatorDataElement( 
   DicomElement element, 
   bool tree, 
   string idCode, 
   int elementGroup 
) 
Public Function FindNextPrivateCreatorDataElement( _ 
   ByVal element As DicomElement, _ 
   ByVal tree As Boolean, _ 
   ByVal idCode As String, _ 
   ByVal elementGroup As Integer _ 
) As DicomElement 
public DicomElement findNextPrivateCreatorDataElement(DicomElement element, boolean tree, String idCode, int elementGroup) 
public: 
DicomElement^ FindNextPrivateCreatorDataElement(  
   DicomElement^ element, 
   bool tree, 
   String^ idCode, 
   int elementGroup 
)  

Parameters

element
A DicomElement in the data set. The search for Private Creator Data Elements will be at the same level as this item.

tree
true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.

idCode
String identifier that is assigned to the private creator data element. If non-null, search includes only those Private Creator Data Elements that have a string value that is the same as idCode. If null, search includes Private Creator Data Elements with any string value.

elementGroup
Group number to search within. If elementGroup is 0, search includes Private Creator Data Elements with any group. If elementGroup is 0x0010 to 0x00FF, the search includes only those Private Creator Data Elements in elementGroup.

Return Value

The first Private Creator Data Element that matches the search constraints. If null is returned, no item exists with the specified search constraints.

Remarks

This feature is available in version 16 or higher.

Use this method along with FindNextPrivateCreatorDataElement to find any or all the Private Creator Data Elements in a DICOM data set.

The search for private creator data elements is on the same level as the parameter element. For element, pass the value returned by FindFirstPrivateCreatorDataElement or the value returned by FindNextPrivateCreatorDataElement.

If tree is true, the data set is searched as a tree. If tree is false, the data set is searched as a list. For more information on the use of this parameter, see FindFirstElement.

Example

For an example, refer to FindFirstPrivateCreatorDataElement.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly