Adds the contents to the end of the collection, which is built from a specified format string.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub AddRange( _
ByVal format As String _
) |
Parameters
- format
- A string value that indicates the specified format string.
Example
This example uses the AddRange method.
C# | Copy Code |
---|
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; |
VB.NET | Copy Code |
---|
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 |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also