Read-only

Parent Property


Description

Returns a handle to the parent object of the collection object being referred to in the statement. The parent property allows the user to traverse from an object back up the object hierarchy.

 VB Syntax

collection.Parent

Variable

(Type) - Description

collection

Return Type

Object

Default

Not Applicable

Examples

parentobj = chans.Parent 'returns a handle to the parent object (Application) of the chans collection. -Read

C++ Syntax

HRESULT get_Parent(IApplication* *pApplication); //IChannels, IChannel, IMeasurements, INAWindows, and IExternalDevices

HRESULT get_Parent(IChannel* *pChannel); //ITraces

HRESULT get_Parent(INAWindow* *pWindow); //ISegments

HRESULT get_Parent(IPowerSensor* *pSensor); //ICalFactorSegments(PMAR)

HRESULT get_Parent(ISourcePowerCalibrator* *pCalibrator); //IPowerSensors, IPowerLossSegments, and IPowerMeterInterfaces

Interface

All listed above