Removes all the sheets from the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Shadows Sub Clear() |
C# | |
---|
public new void Clear() |
Example
This example removes all the sheets from the sheet collection.
C# | Copy Code |
---|
fpSpread1.Sheets.Clear(); |
Visual Basic | Copy 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