共用方式為


ChildCollection.SetItem Method

Note

This method is available only when developing for Windows.

Modifies the value of the child object at the specified location.

Syntax

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

Parameters

  • index
    Type: Int32
    The index of the child object being modified.
  • item
    Type: TChild
    The new value for the child object.

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