SftTree/NET 2.0

AddRange Method, ColumnCollectionClass Class

Softel vdm, Inc.

Adds the specified columns to the column collection.

Syntax      ColumnCollectionClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub AddRange( ByVal ColumnArray As ColumnClass() )

C#   

public void AddRange( ColumnClass[] ColumnArray );

C++   

public: void AddRange( array<ColumnClass^>^ ColumnArray );

ColumnArray

Defines the new columns.

Comments

The AddRange method adds the specified columns to the column collection.

The columns are added to the column collection which is cleared first, and become the displayed columns.

To add one column, use the Add method instead.

This method is typically used by designers, generating the source code to populate the tree control. Applications would normally use the Columns.Count property to define the number of columns.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com