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


指定した書式文字列を示す string 値。
指定した書式文字列から作成された内容をコレクションの最後に追加します。
構文
'Declaration
 
Public Overloads Sub AddRange( _
   ByVal format As String _
) 
'使用法
 
Dim instance As DateTimeDisplayFieldCollectionInfo
Dim format As String
 
instance.AddRange(format)
public void AddRange( 
   string format
)

パラメータ

format
指定した書式文字列を示す string 値。
次のサンプルコードは、AddRange メソッドを使用します。
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
参照

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

 

 


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