NamedStyleCollection.Remove Method
Thread safety: This property is not thread-safe.
Remove(NamedStyle item)
Removes the first occurrence of the specified object from the collection.Syntax
public System.Boolean Remove (
    NamedStyle item
)Parameters
item
 Type: NamedStyle
The object to remove from the collection.
The object to remove from the collection.
Return Value
Type: System.Boolean
True if item is successfully removed; otherwise, False.
   True if item is successfully removed; otherwise, False.
Platforms
Windows, Linux, Android