GameComponentCollection Class (Microsoft.Xna.Framework)

System.Object
   System.Collections.ObjectModel.Collection<T>
      Microsoft.Xna.Framework.GameComponentCollection

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • 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  
Top
  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().)
Top
  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
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web