LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
FindNextPrivateCreatorDataElement Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : FindNextPrivateCreatorDataElement Method



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.
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.
Returns the next Private Creator Data Element that matches the search constraints. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function FindNextPrivateCreatorDataElement( _
   ByVal element As DicomElement, _
   ByVal tree As Boolean, _
   ByVal idCode As String, _
   ByVal elementGroup As Integer _
) As DicomElement
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim element As DicomElement
Dim tree As Boolean
Dim idCode As String
Dim elementGroup As Integer
Dim value As DicomElement
 
value = instance.FindNextPrivateCreatorDataElement(element, tree, idCode, elementGroup)
C# 
public DicomElement FindNextPrivateCreatorDataElement( 
   DicomElement element,
   bool tree,
   string idCode,
   int elementGroup
)
C++/CLI 
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.

Example

For an example, refer to FindFirstPrivateCreatorDataElement.

Remarks

This feature is available in version 16 or higher.

Use this method along with Leadtools.Dicom.DicomDataSet.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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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