DataDirect XML Converters 5.0 Send comments on this topic.
GetContentData(Int32,Int32,Int32,Int32) Method
See Also 
DDTek.XmlConverter.Adapter.Edi Namespace > EDISegmentDetails Interface > GetContentData Method : GetContentData(Int32,Int32,Int32,Int32) Method




composite
The top level sequence number, one-based.
subcomposite
The second level sequence number, or 0 if not needed.
element
The third level sequence number, or 0 if not needed.
repeat
The repetition number of the top level element, one-based.
Get a data value from the segment currently being processed.

Syntax

Visual Basic (Declaration) 
Overloads Function GetContentData( _
   ByVal composite As Integer, _
   ByVal subcomposite As Integer, _
   ByVal element As Integer, _
   ByVal repeat As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As EDISegmentDetails
Dim composite As Integer
Dim subcomposite As Integer
Dim element As Integer
Dim repeat As Integer
Dim value As String
 
value = instance.GetContentData(composite, subcomposite, element, repeat)
C# 
string GetContentData( 
   int composite,
   int subcomposite,
   int element,
   int repeat
)
Managed Extensions for C++ 
string* GetContentData( 
   int composite,
   int subcomposite,
   int element,
   int repeat
) 
C++/CLI 
String^ GetContentData( 
   int composite,
   int subcomposite,
   int element,
   int repeat
) 

Parameters

composite
The top level sequence number, one-based.
subcomposite
The second level sequence number, or 0 if not needed.
element
The third level sequence number, or 0 if not needed.
repeat
The repetition number of the top level element, one-based.

Return Value

The element content at the specified location, or null if nothing exists there.

Remarks

This method has special properties, in that it can be used to retrieve repeating elements such as often used in HL7. To retrieve a repeating simple element, pass its index in the composite parameter, and pass a 0 for the subcomposite and element arguments. To retrieve a repeating complex element, pass its index and sub-index in the composite and subcomposite parameters, and pass a 0 for the element argument. Remember that 0 is never a valid value for the repeat argument.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.