ChildCollection.SetParent Method

Note

This method is available only when developing for Windows.

Modifies the value of the parent object of the specified child object.

Syntax

'Declaration
Protected MustOverride Sub SetParent ( _
         child As TChild, _
         parent As TParent _
)
protected abstract void SetParent (
         TChild child,
         TParent parent
)
protected:
void SetParent(
         TChild child,
         TParent parent
) abstract

Parameters

  • child
    Type: TChild
    The child of the parent being modified.
  • parent
    Type: TParent
    The new value for the parent 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