Click or drag to resize

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.1.418.0 (24.1.418.0)
Syntax
public virtual bool Remove(
	ScreenOverlay item
)

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