FlexReport for WinForms
Add メソッド (GroupCollection)


C1.Report アセンブリ > C1.Report 名前空間 > GroupCollection クラス : Add メソッド
Contains the name of the new group.
Contains the value of the GroupBy property for the new group.
Contains the value of the Group.Sort property for the new group.
Adds a new Group to the collection, along with header and footer sections for the new group.
シンタックス
'宣言
 
Public Function Add( _
   ByVal name As System.String, _
   ByVal groupBy As System.String, _
   ByVal sort As SortEnum _
) As Group
'使用法
 
Dim instance As GroupCollection
Dim name As System.String
Dim groupBy As System.String
Dim sort As SortEnum
Dim value As Group
 
value = instance.Add(name, groupBy, sort)
public Group Add( 
   System.string name,
   System.string groupBy,
   SortEnum sort
)

パラメータ

name
Contains the name of the new group.
groupBy
Contains the value of the GroupBy property for the new group.
sort
Contains the value of the Group.Sort property for the new group.

戻り値の型

A reference to the newly added group.
解説
When a group is added to a report, the control automatically adds two new sections, the group header and group footer sections for the new group. These new sections are invisible by default.
参照

参照

GroupCollection クラス
GroupCollection メンバ