combit List & Label 24 - .NET Online Web Help
AddFromObject(String,Object,Boolean) Method


combit.ListLabel24 Namespace > ElementBaseCollection Class > AddFromObject Method : AddFromObject(String,Object,Boolean) Method
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.
Syntax
'Declaration
 
Public Overloads Overridable Sub AddFromObject( _
   ByVal namePrefix As String, _
   ByVal value As Object, _
   ByVal onlyBrowsableProperties As Boolean _
) 
public virtual void AddFromObject( 
   string namePrefix,
   object value,
   bool onlyBrowsableProperties
)
public:
virtual void AddFromObject( 
   String^ namePrefix,
   Object^ value,
   bool onlyBrowsableProperties
) 

Parameters

namePrefix
value
onlyBrowsableProperties
Requirements

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

See Also

Reference

ElementBaseCollection Class
ElementBaseCollection Members
Overload List