Spread Windows Forms 7.0 Product Documentation
Remove Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ConditionalFormattingModel 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 ConditionalFormatting _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ConditionalFormattingModel
Dim item As ConditionalFormatting
Dim value As Boolean
 
value = instance.Remove(item)
C# 
public bool Remove( 
   ConditionalFormatting 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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