ScreenOverlayCollectionBase.Remove Method |
Removes the first occurrence of a specific overlay from the collection.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic virtual bool Remove(
ScreenOverlay item
)
Public Overridable Function Remove (
item As ScreenOverlay
) As Boolean
public:
virtual bool Remove(
ScreenOverlay^ item
)
abstract Remove :
item : ScreenOverlay -> bool
override Remove :
item : ScreenOverlay -> bool
Parameters
- item
- Type: AGI.Foundation.Graphics.ScreenOverlay
The overlay to remove from the collection.
Return Value
Type:
Booleantrue if
item was successfully removed from the collection;
otherwise
false. This method also returns
false if
item is not found in the original collection.
Implements
ICollection<T>.Remove(T)
See Also