FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class > AddRange Method : AddRange(ICollection) Method |
'Declaration Public Overloads Sub AddRange( _ ByVal c As ICollection _ )
'Usage Dim instance As SheetViewCollection Dim c As ICollection instance.AddRange(c)
public void AddRange( ICollection c )
System.Collections.ArrayList coll = new System.Collections.ArrayList(3); FarPoint.Win.Spread.SheetView Sheet1 = new FarPoint.Win.Spread.SheetView(); FarPoint.Win.Spread.SheetView Sheet2 = new FarPoint.Win.Spread.SheetView(); FarPoint.Win.Spread.SheetView Sheet3 = new FarPoint.Win.Spread.SheetView(); coll.AddRange(new object[] {Sheet1, Sheet2, Sheet3}); fpSpread1.Sheets.AddRange(coll);
Dim coll As New System.Collections.ArrayList(3) Dim Sheet1 As New FarPoint.Win.Spread.SheetView() Dim Sheet2 As New FarPoint.Win.Spread.SheetView() Dim Sheet3 As New FarPoint.Win.Spread.SheetView() coll.AddRange(New Object() {Sheet1, Sheet2, Sheet3}) FpSpread1.Sheets.AddRange(coll)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10