Spread Windows Forms 6.0 Product Documentation
Remove Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultSparklineContainer Class : Remove Method


item
The object to remove from the ICollection.

Glossary Item Box

Removes the first occurrence of a specific object from the ICollection.

Syntax

Visual Basic (Declaration) 
Public Function Remove( _
   ByVal item As ISparklineGroup _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DefaultSparklineContainer
Dim item As ISparklineGroup
Dim value As Boolean
 
value = instance.Remove(item)
C# 
public bool Remove( 
   ISparklineGroup item
)

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe ICollection is read-only.

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.