Click or drag to resize
SpriteCollectionRemove Method
Remove the specified sprite from this collection.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public void Remove(
	SpriteBase sprite
)

Parameters

sprite
Type: (Default Namespace)SpriteBase
Sprite to be removed. This must be a dynamic sprite
Remarks
For more information about dynamic sprites, see staticSize. An error will occur if an attempt is made to remove a static sprite.
See Also