ScreenOverlayCollectionBaseRemove 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.2.419.0 (24.2.419.0)
Syntax public 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.GraphicsScreenOverlay
The overlay to remove from the collection.
Return Value
Type:
Boolean if
item was successfully removed from the collection;
otherwise
. This method also returns
if
item is not found in the original collection.
Implements
ICollectionTRemove(T)See Also