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




segment
The name of a control segment, such as ISA or UNB.
element
The element sequence number, one-based.
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 element As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As EDIConverterException
Dim segment As String
Dim element As Integer
Dim value As String
 
value = instance.GetControlData(segment, element)
C# 
public string GetControlData( 
   string segment,
   int element
)
Managed Extensions for C++ 
public: string* GetControlData( 
   string* segment,
   int element
) 
C++/CLI 
public:
String^ GetControlData( 
   String^ segment,
   int element
) 

Parameters

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

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.