combit List & Label 25 - .NET Online Web Help
AddFromObject Method


combit.ListLabel25 Namespace > ElementBaseCollection Class : AddFromObject Method

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 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

ElementBaseCollection Class
ElementBaseCollection Members