[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.PivotTables.IPivotFilters.Add

Add メソッド

Add(PivotFilterType, int, object, object, bool?)

コレクションに新しいフィルタを追加します。

宣言
IPivotFilter Add(PivotFilterType type, int dataFieldIndex = -1, object value1 = null, object value2 = null, bool? wholeDayFilter = null)
Function Add(type As PivotFilterType, Optional dataFieldIndex As Integer = -1, Optional value1 As Object = Nothing, Optional value2 As Object = Nothing, Optional wholeDayFilter As Boolean? = Nothing) As IPivotFilter
パラメーター
型 名前 説明
PivotFilterType type

フィルタの種類PivotFilterType。

int dataFieldIndex
object value1

最初のフィルタ値。

object value2

2番目のフィルタ値。

bool? wholeDayFilter

日数に基づいてフィルタを指定します。

戻り値
型 説明
IPivotFilter

IPivotFilterオブジェクト。