Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the child that is at the specified index in the node.
Syntax
HRESULT GetChild(
ULONG isn,
IScriptNode **ppsn
);
Parameters
isn
[in] The index of the child in the parent.
ppsn
[out] The address of a variable that receives a pointer to the IScriptNode
interface of the child instance.
For IScriptNode
objects that represent a Web page, this parameter returns an object that contains a script block.
For IScriptEntry
objects that specify a script block, this parameter returns an object that specifies a function.
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
For IScriptEntry
objects that specify a function object and for IScriptScriptlet
objects, this method fails because there are no child entries.