DataDirect XML Converters 5.0 Send comments on this topic.
GetControlData(String,Int32,Int32) Method
See Also 
DDTek.XmlConverter.Adapter.Edi Namespace > EDIConverterException Class > GetControlData Method : GetControlData(String,Int32,Int32) Method




segment
The name of a control segment, such as ISA or UNB.
composite
The composite element sequence number, one-based.
element
The element number within the above composite.
Fetch a specific value from an element of the last-seen control segment of the given name. This data is volatile and does not persist after this exception, so it should be recorded elsewhere if needed.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetControlData( _
   ByVal segment As String, _
   ByVal composite As Integer, _
   ByVal element As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As EDIConverterException
Dim segment As String
Dim composite As Integer
Dim element As Integer
Dim value As String
 
value = instance.GetControlData(segment, composite, element)
C# 
public string GetControlData( 
   string segment,
   int composite,
   int element
)
Managed Extensions for C++ 
public: string* GetControlData( 
   string* segment,
   int composite,
   int element
) 
C++/CLI 
public:
String^ GetControlData( 
   String^ segment,
   int composite,
   int element
) 

Parameters

segment
The name of a control segment, such as ISA or UNB.
composite
The composite element sequence number, one-based.
element
The element number within the above composite.

Return Value

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

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.