combit List & Label 27 - .NET Help
combit.Reporting Namespace / ElementBaseCollection Class / AddFromObject Method


In This Topic
    AddFromObject Method
    In This Topic

    The List & Label component allows the declaration of any type of data. The AddFromObject method is available for this purpose. This method uses reflections to retrieve the public fields and properties of the object and to pass them as variables to List & Label. The name of the corresponding class member is used as name, wherein you can also assign a prefix to a name through an overload.

    Overload List
    OverloadDescription
    Transfers an object with its properties as fields or variables to List & Label.  
    Transfers an object with its properties as fields or variables to List & Label. Additionally a prefix can be passed for fields and variables.  
    Transfers an object with its properties as fields or variables to List & Label. Additionally a prefix can be passed for fields and variables. With this overload only properties are passed that do not have the Browsable(false) attribute.  
    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also