ICabNode::Add Method

From Tracker Software PDF SDK
Revision as of 02:12, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Adds a subnode to the array node.

Syntax

HRESULT Add([in, defaultvalue(dt_Invalid)]  CabDataTypeID  nType,
            [out, retval]                   ICabNode**     pNode);

Parameters

nType
[in, defaultvalue(dt_Invalid)] Value of CabDataTypeID. New subnode type. Optional for templatized arrays. If this parameter is omitted (or has default value of dt_Undefined), actual subnode type will be obtained from the template.
pNode
[out, retval] The address of pointer variable that receives the pointer to the added subnode.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

ICabNode