GrapeCity SPREAD for Windows Forms 11.0J
AddRange(String,Int32,Char,String,String,String,String) メソッド


書式のパターン文字列を示すstring値。
GcTimeSpanセルに表示する小数点以下の桁数を示すint値。
小数点を表す文字を示すchar値。
値が正のときに前に付加する文字列を示すstring値。
値が正のときに後ろに付加する文字列を示すstring値。
値が負のときに前に付加する文字列を示すstring値。
値が負のときに後ろに付加する文字列を示すstring値。
指定した引数から作成された別のIList<TimeSpanDisplayFieldInfo>の内容をコレクションの最後に追加します。
構文
'Declaration
 
Public Overloads Sub AddRange( _
   ByVal pattern As String, _
   ByVal decimalPlaces As Integer, _
   ByVal decimalPoint As Char, _
   ByVal positivePrefix As String, _
   ByVal positiveSuffix As String, _
   ByVal negativePrefix As String, _
   ByVal negativeSuffix As String _
) 
'使用法
 
Dim instance As TimeSpanDisplayFieldCollectionInfo
Dim pattern As String
Dim decimalPlaces As Integer
Dim decimalPoint As Char
Dim positivePrefix As String
Dim positiveSuffix As String
Dim negativePrefix As String
Dim negativeSuffix As String
 
instance.AddRange(pattern, decimalPlaces, decimalPoint, positivePrefix, positiveSuffix, negativePrefix, negativeSuffix)

パラメータ

pattern
書式のパターン文字列を示すstring値。
decimalPlaces
GcTimeSpanセルに表示する小数点以下の桁数を示すint値。
decimalPoint
小数点を表す文字を示すchar値。
positivePrefix
値が正のときに前に付加する文字列を示すstring値。
positiveSuffix
値が正のときに後ろに付加する文字列を示すstring値。
negativePrefix
値が負のときに前に付加する文字列を示すstring値。
negativeSuffix
値が負のときに後ろに付加する文字列を示すstring値。
参照

TimeSpanDisplayFieldCollectionInfo クラス
TimeSpanDisplayFieldCollectionInfo メンバ
オーバーロード一覧

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.