ChildCollection.InsertItem Method

Note

This method is available only when developing for Windows.

Inserts a child object into the collection at the specified location.

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
         index As Integer, _
         item As TChild _
)
protected override void InsertItem (
         int index,
         TChild item
)
protected:
void InsertItem(
         int index,
         TChild item
) override

Parameters

  • index
    Type: Int32
    The position in the collection.
  • item
    Type: TChild
    The child object being inserted.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP