Spread Windows Forms 9.0 Product Documentation
Remove Method (ConditionalFormatting)


The object to remove from the ICollection.
Removes the first occurrence of a specific object from the ICollection.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal item As IConditionalFormattingRule _
) As Boolean
'Usage
 
Dim instance As ConditionalFormatting
Dim item As IConditionalFormattingRule
Dim value As Boolean
 
value = instance.Remove(item)
public bool Remove( 
   IConditionalFormattingRule 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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ConditionalFormatting Class
ConditionalFormatting Members

 

 


Copyright © GrapeCity, inc. All rights reserved.