FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > Cell クラス : ParseFormatInfo プロパティ |
'Declaration Public Property ParseFormatInfo As IFormatProvider
'使用法 Dim instance As Cell Dim value As IFormatProvider instance.ParseFormatInfo = value value = instance.ParseFormatInfo
public IFormatProvider ParseFormatInfo {get; set;}
FarPoint.Win.Spread.CellType.GeneralCellType gct = new FarPoint.Win.Spread.CellType.GeneralCellType(); gct.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.LongDate; fpSpread1.ActiveSheet.Cells[0, 0].CellType = gct; System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("en-us", true); fpSpread1.ActiveSheet.Cells[0, 0].Value = System.DateTime.Now; fpSpread1.ActiveSheet.Cells[0, 0].ParseFormatInfo = ci;
Dim gct As New FarPoint.Win.Spread.CellType.GeneralCellType gct.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.LongDate FpSpread1.ActiveSheet.Cells(0, 0).CellType = gct Dim ci As New System.Globalization.CultureInfo("en-us", True) FpSpread1.ActiveSheet.Cells(0, 0).Value = Now FpSpread1.ActiveSheet.Cells(0, 0).ParseFormatInfo = ci