ChildCollection<TParent,TChild> Class (Microsoft.Xna.Framework.Content.Pipeline)

Provides a collection of child objects for a content item. Links from a child object to its parent are maintained as the collection contents are modified.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public abstract class ChildCollection<TParent,TChild> : Collection<T>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ChildCollection<TParent,TChild> type exposes the following members.

  Platforms Name Description
ChildCollection<TParent,TChild> Creates an instance of ChildCollection. 
Top
  Platforms Name Description
ClearItems Removes all children from the collection. (Overrides Collection<T>.ClearItems().)
GetParent Gets the parent of a child object. 
InsertItem Inserts a child object into the collection at the specified location. (Overrides Collection<T>.InsertItem().)
RemoveItem Removes a child object from the collection. (Overrides Collection<T>.RemoveItem().)
SetItem Modifies the value of the child object at the specified location. (Overrides Collection<T>.SetItem().)
SetParent Modifies the value of the parent object of the specified child object. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop