ChildCollection.GetParent Method

Note

This method is available only when developing for Windows.

Gets the parent of a child object.

Syntax

'Declaration
Protected MustOverride Function GetParent ( _
         child As TChild _
) As TParent 
protected abstract TParent GetParent (
         TChild child
)
protected:
TParent GetParent(
         TChild child
) abstract

Parameters

  • child
    Type: TChild
    The child of the parent being retrieved.

Return Value

Type: TParent
The parent of 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