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


In This Topic
    Add(String,Object) Method
    In This Topic
    Adds a generic object to the collection. The suitable overload is automatically chosen from the object's type. Please note that this has only an effect in the databound mode if it is called from one of the events AutoDefineNewPage or AutoDefineNewLine.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Add( _
       ByVal name As String, _
       ByVal value As Object _
    ) 
    public virtual void Add( 
       string name,
       object value
    )
    public:
    virtual void Add( 
       String^ name,
       Object^ value
    ) 

    Parameters

    name
    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