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