GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > DateTimeDisplayFieldCollectionInfo クラス > AddRange メソッド : AddRange(String) メソッド |
'使用法 Dim instance As DateTimeDisplayFieldCollectionInfo Dim format As String instance.AddRange(format)
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType ct = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); ct.Fields.Clear(); ct.Fields.AddRange("yyyy/MM/dd"); fpSpread1.Sheets[0].Cells[0, 0].CellType = ct;
Dim ct As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() ct.Fields.Clear() ct.Fields.AddRange("yyyy/MM/dd") FpSpread1.Sheets(0).Cells(0, 0).CellType = ct