CODComponent::LocateParent

CODComponent* CODComponent::LocateParent(CODComponent* pChild)

Return a pointer to the parent component of the given child.

Defined in: OdComponent.cpp

Return Value

Pointer to a component.

Parameters

pChild

Pointer to the child component whose parent we want to find.

Comments

The component returned with either be this component, a child of this component, or NULL.