combit List & Label 29 - .NET Help
combit.Reporting 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)



In This Topic
    LlEnumGetFirstField Method
    In This Topic

    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also