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.
System.Object
System.Collections.ObjectModel.Collection<T>
Microsoft.Xna.Framework.Content.Pipeline.ChildCollection<TParent,TChild>
Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContentCollection
Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContentCollection
System.Collections.ObjectModel.Collection<T>
Microsoft.Xna.Framework.Content.Pipeline.ChildCollection<TParent,TChild>
Microsoft.Xna.Framework.Content.Pipeline.Graphics.GeometryContentCollection
Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContentCollection
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
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. |
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. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop