Remove Method
Removes the first occurrence of a specific object from the ICollection(T).
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool Remove(
IStyle item
)
Public Function Remove (
item As IStyle
) As Boolean
abstract Remove :
item : IStyle -> bool
override Remove :
item : IStyle -> bool
Parameters
- IStyle
- The object to remove from the ICollection(T).
Return Value
Boolean
true if item was successfully removed from the ICollection(T); otherwise, false. This method also returns false if item is not found in the original ICollection(T).
Implements
ICollection(T).Remove(T)Exceptions
NotSupportedException | The ICollection(T) is read-only. |