共用方式為


ChildCollection Generic Class

Note

This generic class is available only when developing for Windows.

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: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public abstract class ChildCollection<TParent,TChild> : Collection<TChild>  where TParent : class
   where TChild : class

See Also

Reference

ChildCollection Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows 7, Windows Vista, Windows XP