combit List & Label 29 - .NET Help
combit.Reporting Namespace / ElementBaseCollection Class / AddFromObject Method / AddFromObject(String,Object) Method


In This Topic
    AddFromObject(String,Object) Method
    In This Topic
    Transfers an object with its properties as fields or variables to List & Label. Additionally a prefix can be passed for fields and variables.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub AddFromObject( _
       ByVal namePrefix As String, _
       ByVal value As Object _
    ) 
    public virtual void AddFromObject( 
       string namePrefix,
       object value
    )
    public:
    virtual void AddFromObject( 
       String^ namePrefix,
       Object^ value
    ) 

    Parameters

    namePrefix
    value
    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