FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > DefaultRowFilter クラス : GetFilteredColumnIndexes メソッド |
'Declaration Public Function GetFilteredColumnIndexes() As Integer()
'使用法 Dim instance As DefaultRowFilter Dim value() As Integer value = instance.GetFilteredColumnIndexes()
public int[] GetFilteredColumnIndexes()
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true; int[] i = fpSpread1.ActiveSheet.RowFilter.GetFilteredColumnIndexes; MessageBox.Show("The number of columns filtered is " + i.Length.ToString());
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True Dim i As Integer() = FpSpread1.ActiveSheet.RowFilter.GetFilteredColumnIndexes MessageBox.Show("The number of columns filtered is " & i.Length.ToString())