Share via


IScriptNode::GetIndexInParent

Returns the index of an object in the parent's child list.

Syntax

HRESULT GetIndexInParent(  
   ULONG              pisn,  
);  

Parameters

pisn
[out] Returns the index of an object in the parent's child list.

If this method is called by an IScriptNode object that represents a Web page, this parameter returns 0.

Return Value

An HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

See also

IScriptNode Interface