Spread Windows Forms 6.0 Product Documentation
Clear Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class : Clear Method


Glossary Item Box

Removes all the sheets from the collection.

Syntax

Visual Basic (Declaration) 
Public Shadows Sub Clear() 
Visual Basic (Usage)Copy Code
Dim instance As SheetViewCollection
 
instance.Clear()
C# 
public new void Clear()

Example

This example removes all the sheets from the sheet collection.
C#Copy Code
fpSpread1.Sheets.Clear();
Visual BasicCopy Code
FpSpread1.Sheets.Clear()

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.