combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlEnumGetFirstVar 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_RTF, LL_HTML, LL_TYPEMASK (to iterate all of them)



In This Topic
    LlEnumGetFirstVar Method
    In This Topic

    Returns an iterator for the first variable. The name does not have to be known, the variables 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 LlEnumGetFirstVar( _
       ByVal fieldType As LlFieldType _
    ) As IntPtr
    public IntPtr LlEnumGetFirstVar( 
       LlFieldType fieldType
    )
    public:
    IntPtr LlEnumGetFirstVar( 
       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_RTF, LL_HTML, LL_TYPEMASK (to iterate all of them)

    Return Value

    iterator of first variable, or null if no more variable exists.

    Remarks

    During the iteration, a call to LlDefineVariableStart() is prohibited! Internal variables are not iterated.

    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