GameComponentCollection Class (Microsoft.Xna.Framework)
System.Object
System.Collections.ObjectModel.Collection<T>
Microsoft.Xna.Framework.GameComponentCollection
System.Collections.ObjectModel.Collection<T>
Microsoft.Xna.Framework.GameComponentCollection
- C#
- VB
- F#
public sealed class GameComponentCollection : Collection<T>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The GameComponentCollection type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
GameComponentCollection |
Platforms | Name | Description | |
---|---|---|---|
ClearItems | Removes every GameComponent from this GameComponentCollection. Triggers Microsoft.Xna.Framework.GameComponentCollection.OnComponentRemoved once for each GameComponent removed. (Overrides Collection<T>.ClearItems().) | ||
InsertItem | (Overrides Collection<T>.InsertItem().) | ||
RemoveItem | (Overrides Collection<T>.RemoveItem().) | ||
SetItem | (Overrides Collection<T>.SetItem().) |
Platforms | Name | Description | |
---|---|---|---|
ComponentAdded | Event that is triggered when a GameComponent is added to this GameComponentCollection. | ||
ComponentRemoved | Event that is triggered when a GameComponent is removed from this GameComponentCollection. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web