combit List & Label 24 - .NET Online Web Help
LlEnumGetFirstField Method


combit.ListLabel24 Namespace > LlCore Class : LlEnumGetFirstField Method

flags for the allowed types of fields (to be .or.ed):

LL_TEXT, LL_BOOLEAN, LL_BARCODE, LL_DRAWING, LL_NUMERIC, LL_DATE, LL_HTML, LL_RTF, LL_TYPEMASK (to iterate all of them)

Returns an iterator for the first field. The name does not have to be known, the fields are returned in the order in which they are declared to List & Label.

You should avoid using this function directly - the Variables Property and it's counterparts for fields and chart fields offer you a much more powerful way to work with your data.

Syntax
'Declaration
 
Public Function LlEnumGetFirstField( _
   ByVal fieldType As LlFieldType _
) As IntPtr
public IntPtr LlEnumGetFirstField( 
   LlFieldType fieldType
)
public:
IntPtr LlEnumGetFirstField( 
   LlFieldType fieldType
) 

Parameters

fieldType

flags for the allowed types of fields (to be .or.ed):

LL_TEXT, LL_BOOLEAN, LL_BARCODE, LL_DRAWING, LL_NUMERIC, LL_DATE, LL_HTML, LL_RTF, LL_TYPEMASK (to iterate all of them)

Return Value

iterator of first field, or null if no field exists.

Remarks

During the iteration, a call to LlDefineFieldStart() is prohibited!

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

LlCore Class
LlCore Members